aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c
index 1a4a3027922..37266261c74 100644
--- a/src/window.c
+++ b/src/window.c
@@ -1729,7 +1729,7 @@ before each command.")
1729 register int new_point = marker_position (w->pointm); 1729 register int new_point = marker_position (w->pointm);
1730 if (new_point < BEGV) 1730 if (new_point < BEGV)
1731 SET_PT (BEGV); 1731 SET_PT (BEGV);
1732 if (new_point > ZV) 1732 else if (new_point > ZV)
1733 SET_PT (ZV); 1733 SET_PT (ZV);
1734 else 1734 else
1735 SET_PT (new_point); 1735 SET_PT (new_point);