aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/indent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indent.c b/src/indent.c
index ba4787aa1c5..d30d2dc7293 100644
--- a/src/indent.c
+++ b/src/indent.c
@@ -2133,7 +2133,7 @@ whether or not it is currently displayed in some window. */)
2133 which might span multiple screen lines (e.g., if it's 2133 which might span multiple screen lines (e.g., if it's
2134 on a multi-line display string). We want to start 2134 on a multi-line display string). We want to start
2135 from the last line that it occupies. */ 2135 from the last line that it occupies. */
2136 if (PT < ZV) 2136 if (it_start < ZV)
2137 { 2137 {
2138 while (IT_CHARPOS (it) <= it_start) 2138 while (IT_CHARPOS (it) <= it_start)
2139 { 2139 {