diff options
| author | Jim Blandy | 1993-06-17 02:41:40 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-06-17 02:41:40 +0000 |
| commit | 7eb9ba4137c648d7fa84dbe507948383269124ba (patch) | |
| tree | 4d18f1085b12134c7aa3d1c5aaafa1cefa102bfe | |
| parent | 7fded6909ee6e6d3e3b4246057b34e68ead489ca (diff) | |
| download | emacs-7eb9ba4137c648d7fa84dbe507948383269124ba.tar.gz emacs-7eb9ba4137c648d7fa84dbe507948383269124ba.zip | |
* xdisp.c (redisplay_window): No need to subtract one from start
before passing it to the set_vertical_scroll_bar_hook.
| -rw-r--r-- | src/xdisp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ done: | |||
| 1088 | start = end = whole = 0; | 1088 | start = end = whole = 0; |
| 1089 | 1089 | ||
| 1090 | /* Indicate what this scroll bar ought to be displaying now. */ | 1090 | /* Indicate what this scroll bar ought to be displaying now. */ |
| 1091 | (*set_vertical_scroll_bar_hook) (w, end - start, whole, start - 1); | 1091 | (*set_vertical_scroll_bar_hook) (w, end - start, whole, start); |
| 1092 | 1092 | ||
| 1093 | /* Note that we actually used the scroll bar attached to this window, | 1093 | /* Note that we actually used the scroll bar attached to this window, |
| 1094 | so it shouldn't be deleted at the end of redisplay. */ | 1094 | so it shouldn't be deleted at the end of redisplay. */ |