summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1993-06-16 14:13:15 +0000
committerJim Blandy <jimb@redhat.com>1993-06-16 14:13:15 +0000
commiteebae3dd5ca9e7f3fd04ed7e6c503d73f1da3888 (patch)
treea2d822e764fab9ff10048299e97e986f3b2a603c
parent86f46642b763f320c9313f0cdfb5fffe4970bbcf (diff)
downloademacs-eebae3dd5ca9e7f3fd04ed7e6c503d73f1da3888.tar.gz
* 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:
start = startp - BEGV;
/* I don't think this is guaranteed to be right. For the
moment, we'll pretend it is. */
- end = (Z - XINT (w->window_end_pos)) - BEGV;
+ end = (Z - XINT (w->window_end_pos));
if (end < start) end = start;
if (whole < (end - start)) whole = end - start;