Mercurial > emacs
changeset 96287:778d59308441
(get_glyph_face_and_encoding): Encode invalid glyphs as 0.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Wed, 25 Jun 2008 21:46:49 +0000 |
parents | 0be9063ab8a8 |
children | 22d4563c6236 |
files | src/ChangeLog src/xdisp.c |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Wed Jun 25 20:57:16 2008 +0000 +++ b/src/ChangeLog Wed Jun 25 21:46:49 2008 +0000 @@ -1,3 +1,7 @@ +2008-06-25 Jason Rumney <jasonr@gnu.org> + + * xdisp.c (get_glyph_face_and_encoding): Encode invalid glyphs as 0. + 2008-06-25 Stefan Monnier <monnier@iro.umontreal.ca> * bytecode.c (Fbyte_code): Disable debugging code that doesn't compile.
--- a/src/xdisp.c Wed Jun 25 20:57:16 2008 +0000 +++ b/src/xdisp.c Wed Jun 25 21:46:49 2008 +0000 @@ -19349,7 +19349,7 @@ if (code != FONT_INVALID_CODE) STORE_XCHAR2B (char2b, (code >> 8), (code & 0xFF)); else - STORE_XCHAR2B (char2b, 0, code); + STORE_XCHAR2B (char2b, 0, 0); } /* Make sure X resources of the face are allocated. */