diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/xdisp.c | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 5589b7f34a2..62337d8db63 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-01-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | ||
| 2 | |||
| 3 | * xdisp.c (draw_glyphs): Update `start' for left_overwritten case | ||
| 4 | as in Emacs 22. | ||
| 5 | |||
| 1 | 2010-01-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 6 | 2010-01-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 2 | 7 | ||
| 3 | * lisp.h (make_pure_string): String pointer arg now points to const. | 8 | * lisp.h (make_pure_string): String pointer arg now points to const. |
diff --git a/src/xdisp.c b/src/xdisp.c index 7d43f2d8bef..8e356224c8a 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -20401,6 +20401,7 @@ draw_glyphs (w, x, row, area, start, end, hl, overlaps) | |||
| 20401 | j = i; | 20401 | j = i; |
| 20402 | BUILD_GLYPH_STRINGS (j, start, h, t, | 20402 | BUILD_GLYPH_STRINGS (j, start, h, t, |
| 20403 | overlap_hl, dummy_x, last_x); | 20403 | overlap_hl, dummy_x, last_x); |
| 20404 | start = i; | ||
| 20404 | compute_overhangs_and_x (t, head->x, 1); | 20405 | compute_overhangs_and_x (t, head->x, 1); |
| 20405 | prepend_glyph_string_lists (&head, &tail, h, t); | 20406 | prepend_glyph_string_lists (&head, &tail, h, t); |
| 20406 | clip_head = head; | 20407 | clip_head = head; |
| @@ -20450,6 +20451,8 @@ draw_glyphs (w, x, row, area, start, end, hl, overlaps) | |||
| 20450 | 20451 | ||
| 20451 | BUILD_GLYPH_STRINGS (end, i, h, t, | 20452 | BUILD_GLYPH_STRINGS (end, i, h, t, |
| 20452 | overlap_hl, x, last_x); | 20453 | overlap_hl, x, last_x); |
| 20454 | /* Because BUILD_GLYPH_STRINGS updates the first argument, | ||
| 20455 | we don't have `end = i;' here. */ | ||
| 20453 | compute_overhangs_and_x (h, tail->x + tail->width, 0); | 20456 | compute_overhangs_and_x (h, tail->x + tail->width, 0); |
| 20454 | append_glyph_string_lists (&head, &tail, h, t); | 20457 | append_glyph_string_lists (&head, &tail, h, t); |
| 20455 | clip_tail = tail; | 20458 | clip_tail = tail; |