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
commit8ac68d81ec5b128a59f887ae7912777e316073e0 (patch)
treeb6a61be0630e0256c23addd8147e2cf2fc0db263 /src/disptab.h
parentd20634f345cb8c43e3debb114526228b648d7055 (diff)
downloademacs-8ac68d81ec5b128a59f887ae7912777e316073e0.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 ();