(displayed_window_lines): Don't round up when converting empty space at
bottom to lines.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2000-12-11 Miles Bader <miles@gnu.org>
|
||||
|
||||
* window.c (displayed_window_lines): Don't round up when
|
||||
converting empty space at bottom to lines.
|
||||
|
||||
2000-12-09 Stefan Monnier <monnier@cs.yale.edu>
|
||||
|
||||
* syntax.c (scan_lists): Check that the right quote char has the
|
||||
|
||||
@@ -4479,7 +4479,7 @@ displayed_window_lines (w)
|
||||
{
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user