Commit d80aeee8 authored by Miles Bader's avatar Miles Bader

(displayed_window_lines): Fix off-by-one error.

parent 81fe0836
......@@ -4475,7 +4475,7 @@ displayed_window_lines (w)
bottom_y = it.current_y + it.max_ascent + it.max_descent;
if (bottom_y > it.current_y && bottom_y < it.last_visible_y)
if (bottom_y > it.current_y && bottom_y <= it.last_visible_y)
/* Hit a line without a terminating newline. */
it.vpos++;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment