1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-13 19:25:37 -08:00

* xdisp.c (redisplay_window): Compute the scrollbar start and end

properly.
This commit is contained in:
Jim Blandy 1993-05-19 19:13:31 +00:00
parent 28d3ed91ad
commit 6887f62301

View file

@ -1069,10 +1069,10 @@ done:
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;