From: Kim F. Storm Date: Mon, 2 Aug 2004 15:06:25 +0000 (+0000) Subject: (window_scroll_line_based): Let compute_motion X-Git-Tag: ttn-vms-21-2-B4~5355 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ec2b66c4c23c702023938f994e87fd3b01c306be;p=emacs.git (window_scroll_line_based): Let compute_motion calculate actual window width. --- diff --git a/src/window.c b/src/window.c index c3603c2039f..ad22e1df107 100644 --- a/src/window.c +++ b/src/window.c @@ -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;