aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2010-01-23 03:49:15 -0500
committerEli Zaretskii2010-01-23 03:49:15 -0500
commit151b77c2684759f6f883c012ce8469b68741b6eb (patch)
treeff092a00d753e8c643512f4de972759e6f11ee86 /src
parent46ee4cb48102fd75ce20609692a7e3ee058cb630 (diff)
parent3d782998caa47e69de96807eb9deee2b9aa1d9d1 (diff)
downloademacs-151b77c2684759f6f883c012ce8469b68741b6eb.tar.gz
emacs-151b77c2684759f6f883c012ce8469b68741b6eb.zip
Merger from mainline.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/xdisp.c3
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 @@
12010-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
12010-01-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 62010-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 2513c17c8b1..17a6f7eb4f0 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -20939,6 +20939,7 @@ draw_glyphs (w, x, row, area, start, end, hl, overlaps)
20939 j = i; 20939 j = i;
20940 BUILD_GLYPH_STRINGS (j, start, h, t, 20940 BUILD_GLYPH_STRINGS (j, start, h, t,
20941 overlap_hl, dummy_x, last_x); 20941 overlap_hl, dummy_x, last_x);
20942 start = i;
20942 compute_overhangs_and_x (t, head->x, 1); 20943 compute_overhangs_and_x (t, head->x, 1);
20943 prepend_glyph_string_lists (&head, &tail, h, t); 20944 prepend_glyph_string_lists (&head, &tail, h, t);
20944 clip_head = head; 20945 clip_head = head;
@@ -20988,6 +20989,8 @@ draw_glyphs (w, x, row, area, start, end, hl, overlaps)
20988 20989
20989 BUILD_GLYPH_STRINGS (end, i, h, t, 20990 BUILD_GLYPH_STRINGS (end, i, h, t,
20990 overlap_hl, x, last_x); 20991 overlap_hl, x, last_x);
20992 /* Because BUILD_GLYPH_STRINGS updates the first argument,
20993 we don't have `end = i;' here. */
20991 compute_overhangs_and_x (h, tail->x + tail->width, 0); 20994 compute_overhangs_and_x (h, tail->x + tail->width, 0);
20992 append_glyph_string_lists (&head, &tail, h, t); 20995 append_glyph_string_lists (&head, &tail, h, t);
20993 clip_tail = tail; 20996 clip_tail = tail;