aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/indent.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/indent.c b/src/indent.c
index 584f2179bc5..330065b085e 100644
--- a/src/indent.c
+++ b/src/indent.c
@@ -2082,7 +2082,11 @@ whether or not it is currently displayed in some window. */)
2082 } 2082 }
2083 else 2083 else
2084 it_overshoot_count = 2084 it_overshoot_count =
2085 !(it.method == GET_FROM_IMAGE || it.method == GET_FROM_STRETCH); 2085 (!(it.method == GET_FROM_IMAGE
2086 || it.method == GET_FROM_STRETCH)
2087 /* We will overshoot if lines are truncated and PT lies
2088 beyond the right margin of the window. */
2089 || it.line_wrap == TRUNCATE);
2086 2090
2087 if (start_x_given) 2091 if (start_x_given)
2088 { 2092 {