diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/indent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indent.c b/src/indent.c index 6f2738b4165..5b51e405b6a 100644 --- a/src/indent.c +++ b/src/indent.c | |||
| @@ -1152,7 +1152,7 @@ compute_motion (from, fromvpos, fromhpos, did_motion, to, tovpos, tohpos, width, | |||
| 1152 | if (vpos > tovpos || vpos == tovpos && hpos >= tohpos) | 1152 | if (vpos > tovpos || vpos == tovpos && hpos >= tohpos) |
| 1153 | { | 1153 | { |
| 1154 | if (contin_hpos && prev_hpos == 0 | 1154 | if (contin_hpos && prev_hpos == 0 |
| 1155 | && (contin_hpos == width || wide_column)) | 1155 | && ((hpos > tohpos && contin_hpos == width) || wide_column)) |
| 1156 | { /* Line breaks because we can't put the character at the | 1156 | { /* Line breaks because we can't put the character at the |
| 1157 | previous line any more. It is not the multi-column | 1157 | previous line any more. It is not the multi-column |
| 1158 | character continued in middle. Go back to previous | 1158 | character continued in middle. Go back to previous |