Mercurial > emacs
diff src/xdisp.c @ 3750:3b640cb97e74
* xdisp.c (redisplay_window): No need to subtract BEGV to compute
the scroll bar handle's end.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Wed, 16 Jun 1993 14:13:15 +0000 |
parents | 33e82e88a210 |
children | 41a297faf4ac |
line wrap: on
line diff
--- a/src/xdisp.c Wed Jun 16 06:47:09 1993 +0000 +++ b/src/xdisp.c Wed Jun 16 14:13:15 1993 +0000 @@ -1079,7 +1079,7 @@ 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;