Mercurial > emacs
changeset 34409:eaeb04956022
(displayed_window_lines): Don't round up when converting empty space at
bottom to lines.
author | Miles Bader <miles@gnu.org> |
---|---|
date | Mon, 11 Dec 2000 02:20:24 +0000 |
parents | 0f95f2e53b1f |
children | 849d1e652e4a |
files | src/window.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/window.c Sun Dec 10 21:20:56 2000 +0000 +++ b/src/window.c Mon Dec 11 02:20:24 2000 +0000 @@ -4479,7 +4479,7 @@ { struct frame *f = XFRAME (w->frame); int rest = height - bottom_y; - int lines = (rest + CANON_Y_UNIT (f) - 1) / CANON_Y_UNIT (f); + int lines = rest / CANON_Y_UNIT (f); it.vpos += lines; }