diff --git a/src/xdisp.c b/src/xdisp.c index f2da1dd25ce..368fe75b004 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -1088,7 +1088,7 @@ redisplay_window (window, just_this_one) start = end = whole = 0; /* Indicate what this scroll bar ought to be displaying now. */ - (*set_vertical_scroll_bar_hook) (w, end - start, whole, start - 1); + (*set_vertical_scroll_bar_hook) (w, end - start, whole, start); /* Note that we actually used the scroll bar attached to this window, so it shouldn't be deleted at the end of redisplay. */