diff options
| author | Miles Bader | 2000-12-11 07:28:51 +0000 |
|---|---|---|
| committer | Miles Bader | 2000-12-11 07:28:51 +0000 |
| commit | d80aeee83d1ea38393b94726a163c16a4f42da0e (patch) | |
| tree | b1eb1a7d8760e9cfa3731896deb7c5cd6c121ecb /src/window.c | |
| parent | 81fe08361535eccdb6d2745082db9a85eff470c2 (diff) | |
| download | emacs-d80aeee83d1ea38393b94726a163c16a4f42da0e.tar.gz emacs-d80aeee83d1ea38393b94726a163c16a4f42da0e.zip | |
(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) | |||
| 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 | ||