]> git.eshelyaron.com Git - emacs.git/commitdiff
(try_window_id): Pass new arg to scroll_frame_lines.
authorRichard M. Stallman <rms@gnu.org>
Fri, 1 Apr 1994 10:14:35 +0000 (10:14 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 1 Apr 1994 10:14:35 +0000 (10:14 +0000)
src/xdisp.c

index cc3df113278882ee1439e8f7effe9029cfb0842e..b288c8a6f1093fede04c34636a7b0cd8a116d98e 100644 (file)
@@ -1614,8 +1614,8 @@ try_window_id (window)
             following line from being overwritten by scrolling
             and therefore having to be redrawn.  */
          tem = scroll_frame_lines (f, bp.vpos + top - scroll_amount,
-                                    top + height - max (0, scroll_amount),
-                                    scroll_amount);
+                                   top + height - max (0, scroll_amount),
+                                   scroll_amount, bp.bufpos);
          if (!tem) stop_vpos = height;
        }
       else if (scroll_amount)
@@ -1634,7 +1634,7 @@ try_window_id (window)
            return -2;
          tem = scroll_frame_lines (f, ep.vpos + top - scroll_amount,
                                     top + height - max (0, scroll_amount),
-                                    scroll_amount);
+                                    scroll_amount, ep.bufpos);
          if (!tem) stop_vpos = height;
        }
     }