diff options
author | Miles Bader <miles@gnu.org> | 2000-12-11 07:28:51 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 2000-12-11 07:28:51 +0000 |
commit | d80aeee83d1ea38393b94726a163c16a4f42da0e (patch) | |
tree | b1eb1a7d8760e9cfa3731896deb7c5cd6c121ecb /src/window.c | |
parent | 81fe08361535eccdb6d2745082db9a85eff470c2 (diff) | |
download | emacs-d80aeee83d1ea38393b94726a163c16a4f42da0e.tar.gz |
(displayed_window_lines): Fix off-by-one error.
Diffstat (limited to 'src/window.c')
-rw-r--r-- | src/window.c | 2 |
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) 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++; |