summaryrefslogtreecommitdiff
path: root/src/disptab.h
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1997-02-20 06:47:55 +0000
committerKarl Heuer <kwzh@gnu.org>1997-02-20 06:47:55 +0000
commit214acc50393d7223193e133f8aa23f1cb47ff9d5 (patch)
treee221813338aca32d1ef8dc55f892daabed2aef07 /src/disptab.h
parentdfbb1e90fc99e3517901ca9a8b920350a095d85c (diff)
downloademacs-214acc50393d7223193e133f8aa23f1cb47ff9d5.tar.gz
(DISP_CHAR_VECTOR): Always return nil for multibyte
characters.
Diffstat (limited to 'src/disptab.h')
-rw-r--r--src/disptab.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/disptab.h b/src/disptab.h
index 71f36b6353a..3458105b9a7 100644
--- a/src/disptab.h
+++ b/src/disptab.h
@@ -33,7 +33,7 @@ Boston, MA 02111-1307, USA. */
#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 ();