changeset 56585:f2ea7576ac6e

(window_scroll_line_based): Let compute_motion calculate actual window width.
author Kim F. Storm <storm@cua.dk>
date Mon, 02 Aug 2004 15:06:25 +0000
parents e22bbc6b44d1
children 0731f4f165af
files src/window.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/window.c	Mon Aug 02 15:06:06 2004 +0000
+++ b/src/window.c	Mon Aug 02 15:06:25 2004 +0000
@@ -4707,7 +4707,7 @@
 
   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;