aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c
index 3e2eb1664c8..95690443f8e 100644
--- a/src/window.c
+++ b/src/window.c
@@ -7129,8 +7129,8 @@ If PIXELS-P is non-nil, the return value is VSCROLL. */)
7129 int old_dy = w->vscroll; 7129 int old_dy = w->vscroll;
7130 7130
7131 w->vscroll = - (NILP (pixels_p) 7131 w->vscroll = - (NILP (pixels_p)
7132 ? FRAME_LINE_HEIGHT (f) * extract_float (vscroll) 7132 ? FRAME_LINE_HEIGHT (f) * XFLOATINT (vscroll)
7133 : extract_float (vscroll)); 7133 : XFLOATINT (vscroll));
7134 w->vscroll = min (w->vscroll, 0); 7134 w->vscroll = min (w->vscroll, 0);
7135 7135
7136 if (w->vscroll != old_dy) 7136 if (w->vscroll != old_dy)