Mercurial > emacs
changeset 3880:ef6a4d39634b
* xdisp.c (redisplay_window): Remember to compute end relative to
the start of the visible region, too.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Tue, 22 Jun 1993 06:59:07 +0000 |
parents | b8c99f30ca3f |
children | 9d92b383b584 |
files | src/xdisp.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xdisp.c Tue Jun 22 05:55:59 1993 +0000 +++ b/src/xdisp.c Tue Jun 22 06:59:07 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)); + end = (Z - XINT (w->window_end_pos)) - BEGV; if (end < start) end = start; if (whole < (end - start)) whole = end - start;