diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 6a4304d194b..64f401690a6 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -9285,8 +9285,8 @@ move_it_in_display_line_to (struct it *it, | |||
| 9285 | if (may_wrap && char_can_wrap_before (it)) | 9285 | if (may_wrap && char_can_wrap_before (it)) |
| 9286 | { | 9286 | { |
| 9287 | /* We have reached a glyph that follows one or more | 9287 | /* We have reached a glyph that follows one or more |
| 9288 | whitespace characters or a character that allows | 9288 | whitespace characters or characters that allow |
| 9289 | wrapping after it. If this character allows | 9289 | wrapping after them. If this character allows |
| 9290 | wrapping before it, save this position as a | 9290 | wrapping before it, save this position as a |
| 9291 | wrapping point. */ | 9291 | wrapping point. */ |
| 9292 | if (atpos_it.sp >= 0) | 9292 | if (atpos_it.sp >= 0) |
| @@ -9303,7 +9303,6 @@ move_it_in_display_line_to (struct it *it, | |||
| 9303 | } | 9303 | } |
| 9304 | /* Otherwise, we can wrap here. */ | 9304 | /* Otherwise, we can wrap here. */ |
| 9305 | SAVE_IT (wrap_it, *it, wrap_data); | 9305 | SAVE_IT (wrap_it, *it, wrap_data); |
| 9306 | next_may_wrap = false; | ||
| 9307 | } | 9306 | } |
| 9308 | /* Update may_wrap for the next iteration. */ | 9307 | /* Update may_wrap for the next iteration. */ |
| 9309 | may_wrap = next_may_wrap; | 9308 | may_wrap = next_may_wrap; |