diff options
author | Kim F. Storm <[email protected]> | 2004-08-02 15:06:25 +0000 |
---|---|---|
committer | Kim F. Storm <[email protected]> | 2004-08-02 15:06:25 +0000 |
commit | ec2b66c4c23c702023938f994e87fd3b01c306be (patch) | |
tree | be62d0b6749d2c3deac06ec5506c6a2dc59f6b84 /src | |
parent | 361f14bf1184bbac4076cb123d109b034ee11fa4 (diff) |
(window_scroll_line_based): Let compute_motion
calculate actual window width.
Diffstat (limited to 'src')
-rw-r--r-- | src/window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c index c3603c2039..ad22e1df10 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; |