(window_scroll_line_based): Let compute_motion

calculate actual window width.
This commit is contained in:
Kim F. Storm 2004-08-02 15:06:25 +00:00
parent 361f14bf11
commit ec2b66c4c2

View 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;