Commit ccedd259 authored by Jason Rumney's avatar Jason Rumney
Browse files

(get_glyph_face_and_encoding): Encode invalid glyphs as 0.

parent 603a0937
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.
......
......@@ -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. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment