aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c2
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:
1079 start = startp - BEGV; 1079 start = startp - BEGV;
1080 /* I don't think this is guaranteed to be right. For the 1080 /* I don't think this is guaranteed to be right. For the
1081 moment, we'll pretend it is. */ 1081 moment, we'll pretend it is. */
1082 end = (Z - XINT (w->window_end_pos)) - BEGV; 1082 end = (Z - XINT (w->window_end_pos));
1083 1083
1084 if (end < start) end = start; 1084 if (end < start) end = start;
1085 if (whole < (end - start)) whole = end - start; 1085 if (whole < (end - start)) whole = end - start;