/[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.376.4.4 by eliz, Sun Nov 25 18:28:38 2001 UTC revision 1.376.4.5 by gerd, Wed Dec 12 13:46:24 2001 UTC
# Line 4612  and redisplay normally--don't erase and Line 4612  and redisplay normally--don't erase and
4612            nlines = - XINT (arg) - 1;            nlines = - XINT (arg) - 1;
4613            move_it_by_lines (&it, nlines, 1);            move_it_by_lines (&it, nlines, 1);
4614    
4615            y1 = it.current_y - y0;            y1 = line_bottom_y (&it);
           h = line_bottom_y (&it) - y1;  
4616    
4617            /* If we can't move down NLINES lines because we hit            /* If we can't move down NLINES lines because we hit
4618               the end of the buffer, count in some empty lines.  */               the end of the buffer, count in some empty lines.  */
4619            if (it.vpos < nlines)            if (it.vpos < nlines)
4620              y1 += (nlines - it.vpos) * CANON_Y_UNIT (it.f);              y1 += (nlines - it.vpos) * CANON_Y_UNIT (it.f);
4621                        
4622            y0 = it.last_visible_y - y1 - h;            h = window_box_height (w) - (y1 - y0);
4623              
4624            start_display (&it, w, pt);            start_display (&it, w, pt);
4625            move_it_vertically (&it, - y0);            move_it_vertically (&it, - h);
4626            charpos = IT_CHARPOS (it);            charpos = IT_CHARPOS (it);
4627            bytepos = IT_BYTEPOS (it);            bytepos = IT_BYTEPOS (it);
4628          }          }

Legend:
Removed from v.1.376.4.4  
changed lines
  Added in v.1.376.4.5

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