aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Rumney2008-06-25 21:46:49 +0000
committerJason Rumney2008-06-25 21:46:49 +0000
commitccedd25934d7e68a2dc7d1c75b2ed57ed56b03cd (patch)
treeb1602c7e777bbcf62ca46f4c2723db1290aca80f /src
parent603a09371b98d0da42936f2294eb62f1ad1aaa9a (diff)
downloademacs-ccedd25934d7e68a2dc7d1c75b2ed57ed56b03cd.tar.gz
emacs-ccedd25934d7e68a2dc7d1c75b2ed57ed56b03cd.zip
(get_glyph_face_and_encoding): Encode invalid glyphs as 0.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/xdisp.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 6916e152d33..c2664909f8a 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12008-06-25 Jason Rumney <jasonr@gnu.org>
2
3 * xdisp.c (get_glyph_face_and_encoding): Encode invalid glyphs as 0.
4
12008-06-25 Stefan Monnier <monnier@iro.umontreal.ca> 52008-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
2 6
3 * bytecode.c (Fbyte_code): Disable debugging code that doesn't compile. 7 * 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)
19349 if (code != FONT_INVALID_CODE) 19349 if (code != FONT_INVALID_CODE)
19350 STORE_XCHAR2B (char2b, (code >> 8), (code & 0xFF)); 19350 STORE_XCHAR2B (char2b, (code >> 8), (code & 0xFF));
19351 else 19351 else
19352 STORE_XCHAR2B (char2b, 0, code); 19352 STORE_XCHAR2B (char2b, 0, 0);
19353 } 19353 }
19354 19354
19355 /* Make sure X resources of the face are allocated. */ 19355 /* Make sure X resources of the face are allocated. */