diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/xdisp.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 847e065e1c3..4033f51ca1a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-09-22 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * xdisp.c (next_overlay_string): Initialize it->end_charpos for | ||
| 4 | the new overlay string. (Bug#10159) | ||
| 5 | |||
| 1 | 2012-09-22 Paul Eggert <eggert@cs.ucla.edu> | 6 | 2012-09-22 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 7 | ||
| 3 | * emacs.c (shut_down_emacs): Don't assume stderr is buffered, | 8 | * emacs.c (shut_down_emacs): Don't assume stderr is buffered, |
diff --git a/src/xdisp.c b/src/xdisp.c index f00719be37a..c2032696a1c 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -5346,6 +5346,7 @@ next_overlay_string (struct it *it) | |||
| 5346 | SET_TEXT_POS (it->current.string_pos, 0, 0); | 5346 | SET_TEXT_POS (it->current.string_pos, 0, 0); |
| 5347 | it->method = GET_FROM_STRING; | 5347 | it->method = GET_FROM_STRING; |
| 5348 | it->stop_charpos = 0; | 5348 | it->stop_charpos = 0; |
| 5349 | it->end_charpos = SCHARS (it->string); | ||
| 5349 | if (it->cmp_it.stop_pos >= 0) | 5350 | if (it->cmp_it.stop_pos >= 0) |
| 5350 | it->cmp_it.stop_pos = 0; | 5351 | it->cmp_it.stop_pos = 0; |
| 5351 | it->prev_stop = 0; | 5352 | it->prev_stop = 0; |