diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 58b5ca2f018..3e6a3078cea 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -4318,7 +4318,8 @@ handle_invisible_prop (struct it *it) | |||
| 4318 | bidi_move_to_visually_next (&it->bidi_it); | 4318 | bidi_move_to_visually_next (&it->bidi_it); |
| 4319 | } | 4319 | } |
| 4320 | while (oldpos <= it->bidi_it.charpos | 4320 | while (oldpos <= it->bidi_it.charpos |
| 4321 | && it->bidi_it.charpos < endpos); | 4321 | && it->bidi_it.charpos < endpos |
| 4322 | && it->bidi_it.charpos < it->bidi_it.string.schars); | ||
| 4322 | 4323 | ||
| 4323 | IT_STRING_CHARPOS (*it) = it->bidi_it.charpos; | 4324 | IT_STRING_CHARPOS (*it) = it->bidi_it.charpos; |
| 4324 | IT_STRING_BYTEPOS (*it) = it->bidi_it.bytepos; | 4325 | IT_STRING_BYTEPOS (*it) = it->bidi_it.bytepos; |