aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/window.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-09-06 16:23:00 +0200
committerGitHub <noreply@github.com>2022-09-06 07:23:00 -0700
commit12afc344deb2df3973904fe55813d700da985dbf (patch)
treed60d9da9563eabe9ea30a17e20f9c8dc21e4f495 /src/nvim/window.c
parent84d1094958fdbdda67f629197924d4146e2a1887 (diff)
downloadrneovim-12afc344deb2df3973904fe55813d700da985dbf.tar.gz
rneovim-12afc344deb2df3973904fe55813d700da985dbf.tar.bz2
rneovim-12afc344deb2df3973904fe55813d700da985dbf.zip
refactor: migrate comment style 2 #20080
Diffstat (limited to 'src/nvim/window.c')
-rw-r--r--src/nvim/window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/window.c b/src/nvim/window.c
index 530cbc0c7b..ca97ae6184 100644
--- a/src/nvim/window.c
+++ b/src/nvim/window.c
@@ -2048,7 +2048,7 @@ static int get_maximum_wincount(frame_T *fr, int height)
}
/// Make all windows the same height.
-///'next_curwin' will soon be the current window, make sure it has enough rows.
+/// 'next_curwin' will soon be the current window, make sure it has enough rows.
///
/// @param next_curwin pointer to current window to be or NULL
/// @param current do only frame with current window
@@ -5524,7 +5524,7 @@ static void frame_setheight(frame_T *curfrp, int height)
}
frame_setheight(curfrp->fr_parent, height
+ frame_minheight(curfrp->fr_parent, NOWIN) - (int)p_wmh - 1);
- //NOTREACHED
+ // NOTREACHED
}
// Compute the number of lines we will take from others frames (can be