Mercurial > emacs
changeset 2904:d9f7768b0d89
* xdisp.c (redisplay_window): Compute the scrollbar start and end
properly.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Wed, 19 May 1993 19:13:31 +0000 |
parents | fa41174db2fa |
children | be10f559ebe4 |
files | src/xdisp.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xdisp.c Wed May 19 19:08:12 1993 +0000 +++ b/src/xdisp.c Wed May 19 19:13:31 1993 +0000 @@ -1069,10 +1069,10 @@ if (! MINI_WINDOW_P (w) || (w == XWINDOW (minibuf_window) && ! echo_area_glyphs)) { - start = startp; + 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); + end = Z - XINT (w->window_end_pos) - BEGV; whole = ZV - BEGV; if (end < start) end = start;