diff options
| -rw-r--r-- | src/xdisp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index e9777efee39..f2da1dd25ce 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -1079,7 +1079,7 @@ done: 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; |
