diff --git a/src/ChangeLog b/src/ChangeLog index 6916e152d33..c2664909f8a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2008-06-25 Jason Rumney + + * xdisp.c (get_glyph_face_and_encoding): Encode invalid glyphs as 0. + 2008-06-25 Stefan Monnier * bytecode.c (Fbyte_code): Disable debugging code that doesn't compile. diff --git a/src/xdisp.c b/src/xdisp.c index ab8a9315e85..ad2de16c7b5 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -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. */