aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Blandy1993-06-16 14:13:15 +0000
committerJim Blandy1993-06-16 14:13:15 +0000
commiteebae3dd5ca9e7f3fd04ed7e6c503d73f1da3888 (patch)
treea2d822e764fab9ff10048299e97e986f3b2a603c
parent86f46642b763f320c9313f0cdfb5fffe4970bbcf (diff)
downloademacs-eebae3dd5ca9e7f3fd04ed7e6c503d73f1da3888.tar.gz
emacs-eebae3dd5ca9e7f3fd04ed7e6c503d73f1da3888.zip
* xdisp.c (redisplay_window): No need to subtract BEGV to compute
the scroll bar handle's end.
-rw-r--r--src/xdisp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index e9777efee39..f2da1dd25ce 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -1079,7 +1079,7 @@ done:
1079 start = startp - BEGV; 1079 start = startp - BEGV;
1080 /* I don't think this is guaranteed to be right. For the 1080 /* I don't think this is guaranteed to be right. For the
1081 moment, we'll pretend it is. */ 1081 moment, we'll pretend it is. */
1082 end = (Z - XINT (w->window_end_pos)) - BEGV; 1082 end = (Z - XINT (w->window_end_pos));
1083 1083
1084 if (end < start) end = start; 1084 if (end < start) end = start;
1085 if (whole < (end - start)) whole = end - start; 1085 if (whole < (end - start)) whole = end - start;