mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
PVS/V547: window.c: Expression is always true
This commit is contained in:
parent
6abdc0aeec
commit
58538d1210
@ -4392,11 +4392,11 @@ static void frame_setheight(frame_T *curfrp, int height)
|
||||
room_cmdline = 0;
|
||||
}
|
||||
|
||||
if (height <= room + room_cmdline)
|
||||
if (height <= room + room_cmdline) {
|
||||
break;
|
||||
}
|
||||
if (run == 2 || curfrp->fr_width == Columns) {
|
||||
if (height > room + room_cmdline)
|
||||
height = room + room_cmdline;
|
||||
height = room + room_cmdline;
|
||||
break;
|
||||
}
|
||||
frame_setheight(curfrp->fr_parent, height
|
||||
|
Loading…
Reference in New Issue
Block a user