/[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.392 by jasonr, Sat Dec 1 12:35:45 2001 UTC revision 1.393 by gerd, Wed Dec 12 13:43:16 2001 UTC
# Line 4584  and redisplay normally--don't erase and Line 4584  and redisplay normally--don't erase and
4584            nlines = - XINT (arg) - 1;            nlines = - XINT (arg) - 1;
4585            move_it_by_lines (&it, nlines, 1);            move_it_by_lines (&it, nlines, 1);
4586    
4587            y1 = it.current_y - y0;            y1 = line_bottom_y (&it);
           h = line_bottom_y (&it) - y1;  
4588    
4589            /* If we can't move down NLINES lines because we hit            /* If we can't move down NLINES lines because we hit
4590               the end of the buffer, count in some empty lines.  */               the end of the buffer, count in some empty lines.  */
4591            if (it.vpos < nlines)            if (it.vpos < nlines)
4592              y1 += (nlines - it.vpos) * CANON_Y_UNIT (it.f);              y1 += (nlines - it.vpos) * CANON_Y_UNIT (it.f);
4593                        
4594            y0 = it.last_visible_y - y1 - h;            h = window_box_height (w) - (y1 - y0);
4595              
4596            start_display (&it, w, pt);            start_display (&it, w, pt);
4597            move_it_vertically (&it, - y0);            move_it_vertically (&it, - h);
4598            charpos = IT_CHARPOS (it);            charpos = IT_CHARPOS (it);
4599            bytepos = IT_BYTEPOS (it);            bytepos = IT_BYTEPOS (it);
4600          }          }

Legend:
Removed from v.1.392  
changed lines
  Added in v.1.393

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