Mercurial > emacs
diff src/window.c @ 34417:fef41c786c7a
(displayed_window_lines): Fix off-by-one error.
| author | Miles Bader <miles@gnu.org> |
|---|---|
| date | Mon, 11 Dec 2000 07:28:51 +0000 |
| parents | 0d16962724cb |
| children | f9d400d4653a |
line wrap: on
line diff
--- a/src/window.c Mon Dec 11 07:22:38 2000 +0000 +++ b/src/window.c Mon Dec 11 07:28:51 2000 +0000 @@ -4475,7 +4475,7 @@ 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++;
