changeset 17029:e7d92eb43979

(DISP_CHAR_VECTOR): Always return nil for multibyte characters.
author Karl Heuer <kwzh@gnu.org>
date Thu, 20 Feb 1997 06:47:55 +0000
parents 118cff7e4bca
children 42d758739319
files src/disptab.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/disptab.h	Thu Feb 20 06:47:37 1997 +0000
+++ b/src/disptab.h	Thu Feb 20 06:47:55 1997 +0000
@@ -33,7 +33,7 @@
 #define DISP_INVIS_VECTOR(dp) ((dp)->extras[4])
 #define DISP_BORDER_GLYPH(dp) ((dp)->extras[5])
 
-#define DISP_CHAR_VECTOR(dp, c) ((dp)->contents[c])
+#define DISP_CHAR_VECTOR(dp, c) ((c) < 0x80 ? (dp)->contents[c] : Qnil)
 
 /* Defined in window.c.  */
 extern struct Lisp_Char_Table *window_display_table ();