aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKaroly Lorentey2004-04-29 20:45:02 +0000
committerKaroly Lorentey2004-04-29 20:45:02 +0000
commite6da77e898ea743bc416517542eae446e573b6b5 (patch)
tree47df1c81621f456f688132b822fb6f51087b9822 /src
parent9a3ab26af39540424723a27ab3a7f3cd204660c8 (diff)
parent016b8f71efe187f403913d47890c8e0408472617 (diff)
downloademacs-e6da77e898ea743bc416517542eae446e573b6b5.tar.gz
emacs-e6da77e898ea743bc416517542eae446e573b6b5.zip
Merged in changes from CVS trunk.
Patches applied: * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-258 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-259 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-260 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-261 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-155
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/xdisp.c6
2 files changed, 12 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index c3314cb98e5..386c3d99a47 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
12004-04-29 Kim F. Storm <storm@cua.dk>
2
3 * xdisp.c (null_glyph_slice): New var.
4 (append_glyph, append_composite_glyph, append_stretch_glyph):
5 Use it to initialize glyph slice.
6
12004-04-27 Stefan Monnier <monnier@iro.umontreal.ca> 72004-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
2 8
3 * xdisp.c (x_produce_glyphs): Fix the proverbial int/Lisp_Object mixup. 9 * xdisp.c (x_produce_glyphs): Fix the proverbial int/Lisp_Object mixup.
diff --git a/src/xdisp.c b/src/xdisp.c
index e77fa98cab1..4a79521f65d 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -795,6 +795,9 @@ int help_echo_pos;
795 795
796Lisp_Object previous_help_echo_string; 796Lisp_Object previous_help_echo_string;
797 797
798/* Null glyph slice */
799
800static struct glyph_slice null_glyph_slice = { 0, 0, 0, 0 };
798 801
799 802
800/* Function prototypes. */ 803/* Function prototypes. */
@@ -18091,6 +18094,7 @@ append_glyph (it)
18091 glyph->glyph_not_available_p = it->glyph_not_available_p; 18094 glyph->glyph_not_available_p = it->glyph_not_available_p;
18092 glyph->face_id = it->face_id; 18095 glyph->face_id = it->face_id;
18093 glyph->u.ch = it->char_to_display; 18096 glyph->u.ch = it->char_to_display;
18097 glyph->slice = null_glyph_slice;
18094 glyph->font_type = FONT_TYPE_UNKNOWN; 18098 glyph->font_type = FONT_TYPE_UNKNOWN;
18095 ++it->glyph_row->used[area]; 18099 ++it->glyph_row->used[area];
18096 } 18100 }
@@ -18127,6 +18131,7 @@ append_composite_glyph (it)
18127 glyph->glyph_not_available_p = 0; 18131 glyph->glyph_not_available_p = 0;
18128 glyph->face_id = it->face_id; 18132 glyph->face_id = it->face_id;
18129 glyph->u.cmp_id = it->cmp_id; 18133 glyph->u.cmp_id = it->cmp_id;
18134 glyph->slice = null_glyph_slice;
18130 glyph->font_type = FONT_TYPE_UNKNOWN; 18135 glyph->font_type = FONT_TYPE_UNKNOWN;
18131 ++it->glyph_row->used[area]; 18136 ++it->glyph_row->used[area];
18132 } 18137 }
@@ -18338,6 +18343,7 @@ append_stretch_glyph (it, object, width, height, ascent)
18338 glyph->face_id = it->face_id; 18343 glyph->face_id = it->face_id;
18339 glyph->u.stretch.ascent = ascent; 18344 glyph->u.stretch.ascent = ascent;
18340 glyph->u.stretch.height = height; 18345 glyph->u.stretch.height = height;
18346 glyph->slice = null_glyph_slice;
18341 glyph->font_type = FONT_TYPE_UNKNOWN; 18347 glyph->font_type = FONT_TYPE_UNKNOWN;
18342 ++it->glyph_row->used[area]; 18348 ++it->glyph_row->used[area];
18343 } 18349 }