/[emacs]/emacs/src/window.c
ViewVC logotype

Diff of /emacs/src/window.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.426 by rms, Tue Jul 16 13:39:41 2002 UTC revision 1.427 by rms, Thu Sep 5 02:36:22 2002 UTC
# Line 4653  displayed_window_lines (w) Line 4653  displayed_window_lines (w)
4653    move_it_vertically (&it, height);    move_it_vertically (&it, height);
4654    bottom_y = line_bottom_y (&it);    bottom_y = line_bottom_y (&it);
4655    
4656      /* rms: On a non-window display,
4657         the value of it.vpos at the bottom of the screen
4658         seems to be 1 larger than window_box_height (w).
4659         This kludge fixes a bug whereby (move-to-window-line -1)
4660         when ZV is on the last screen line
4661         moves to the previous screen line instead of the last one.  */
4662      if (! FRAME_WINDOW_P (XFRAME (w->frame)))
4663        height++;
4664    
4665    /* Add in empty lines at the bottom of the window.  */    /* Add in empty lines at the bottom of the window.  */
4666    if (bottom_y < height)    if (bottom_y < height)
4667      {      {

Legend:
Removed from v.1.426  
changed lines
  Added in v.1.427

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26