]> git.eshelyaron.com Git - emacs.git/commitdiff
(window_scroll_line_based): Let compute_motion
authorKim F. Storm <storm@cua.dk>
Mon, 2 Aug 2004 15:06:25 +0000 (15:06 +0000)
committerKim F. Storm <storm@cua.dk>
Mon, 2 Aug 2004 15:06:25 +0000 (15:06 +0000)
calculate actual window width.

src/window.c

index c3603c2039f88ca640c27b0c9b891fe0f4fe6332..ad22e1df1079b7cd2c0dfd4f496cefe80664a00d 100644 (file)
@@ -4707,7 +4707,7 @@ window_scroll_line_based (window, n, whole, noerror)
 
   posit = *compute_motion (startpos, 0, 0, 0,
                           PT, ht, 0,
-                          window_box_text_cols (w), XINT (w->hscroll),
+                          -1, XINT (w->hscroll),
                           0, w);
   original_vpos = posit.vpos;