mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-27 07:41:28 -08:00
(displayed_window_lines): Don't round up when converting empty space at
bottom to lines.
This commit is contained in:
parent
ca98cd3791
commit
59ec59ae7a
2 changed files with 6 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue