aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
authorKim F. Storm2004-08-02 15:06:25 +0000
committerKim F. Storm2004-08-02 15:06:25 +0000
commitec2b66c4c23c702023938f994e87fd3b01c306be (patch)
treebe62d0b6749d2c3deac06ec5506c6a2dc59f6b84 /src/window.c
parent361f14bf1184bbac4076cb123d109b034ee11fa4 (diff)
downloademacs-ec2b66c4c23c702023938f994e87fd3b01c306be.tar.gz
emacs-ec2b66c4c23c702023938f994e87fd3b01c306be.zip
(window_scroll_line_based): Let compute_motion
calculate actual window width.
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c2
1 files changed, 1 insertions, 1 deletions
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)
4707 4707
4708 posit = *compute_motion (startpos, 0, 0, 0, 4708 posit = *compute_motion (startpos, 0, 0, 0,
4709 PT, ht, 0, 4709 PT, ht, 0,
4710 window_box_text_cols (w), XINT (w->hscroll), 4710 -1, XINT (w->hscroll),
4711 0, w); 4711 0, w);
4712 original_vpos = posit.vpos; 4712 original_vpos = posit.vpos;
4713 4713