# HG changeset patch # User Jim Blandy # Date 740239995 0 # Node ID 3b640cb97e746c02dadc0548e76df011a97087d4 # Parent f3f6220ce685b71fed8c6dcf8ddc4a69c2ec9621 * xdisp.c (redisplay_window): No need to subtract BEGV to compute the scroll bar handle's end. diff -r f3f6220ce685 -r 3b640cb97e74 src/xdisp.c --- 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;