aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c
index 677dc9aedcd..23dbcbdfa99 100644
--- a/src/window.c
+++ b/src/window.c
@@ -4475,7 +4475,7 @@ displayed_window_lines (w)
4475 4475
4476 bottom_y = it.current_y + it.max_ascent + it.max_descent; 4476 bottom_y = it.current_y + it.max_ascent + it.max_descent;
4477 4477
4478 if (bottom_y > it.current_y && bottom_y < it.last_visible_y) 4478 if (bottom_y > it.current_y && bottom_y <= it.last_visible_y)
4479 /* Hit a line without a terminating newline. */ 4479 /* Hit a line without a terminating newline. */
4480 it.vpos++; 4480 it.vpos++;
4481 4481