/[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.409 by rms, Tue Mar 26 09:09:56 2002 UTC revision 1.410 by rms, Sat Mar 30 23:49:39 2002 UTC
# Line 4154  window_scroll_pixel_based (window, n, wh Line 4154  window_scroll_pixel_based (window, n, wh
4154               in the scroll margin at the top.  */               in the scroll margin at the top.  */
4155            move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS);            move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS);
4156            while (it.current_y < this_scroll_margin)            while (it.current_y < this_scroll_margin)
4157              move_it_by_lines (&it, 1, 1);              {
4158                  int prev = it.current_y;
4159                  move_it_by_lines (&it, 1, 1);
4160                  if (prev == it.current_y)
4161                    break;
4162                }
4163            SET_PT_BOTH (IT_CHARPOS (it), IT_BYTEPOS (it));            SET_PT_BOTH (IT_CHARPOS (it), IT_BYTEPOS (it));
4164          }          }
4165        else if (n < 0)        else if (n < 0)

Legend:
Removed from v.1.409  
changed lines
  Added in v.1.410

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