1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-31 09:20:54 -08:00

(get_glyph_face_and_encoding): Encode invalid glyphs as 0.

This commit is contained in:
Jason Rumney 2008-06-25 21:46:49 +00:00
parent 603a09371b
commit ccedd25934
2 changed files with 5 additions and 1 deletions

View file

@ -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.

View file

@ -19349,7 +19349,7 @@ get_glyph_face_and_encoding (f, glyph, char2b, two_byte_p)
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. */