summaryrefslogtreecommitdiff
path: root/src/disptab.h
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>1997-02-27 10:44:19 +0000
committerKenichi Handa <handa@m17n.org>1997-02-27 10:44:19 +0000
commit93004a3ee483f6bdee4dff38053a53e6ea5f6de0 (patch)
tree81986eb35cac6f113ad07fd7ddd3d74bd0bbe900 /src/disptab.h
parentc2f5ee567dd121881d12684a629c82c86ce3fd6b (diff)
downloademacs-93004a3ee483f6bdee4dff38053a53e6ea5f6de0.tar.gz
(DISP_CHAR_VECTOR): Allow bare 8-bit in display-table.
Diffstat (limited to 'src/disptab.h')
-rw-r--r--src/disptab.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/disptab.h b/src/disptab.h
index 3458105b9a7..6ee008453df 100644
--- a/src/disptab.h
+++ b/src/disptab.h
@@ -33,7 +33,8 @@ 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) ((c) < 0x80 ? (dp)->contents[c] : Qnil)
+#define DISP_CHAR_VECTOR(dp, c) \
+ (SINGLE_BYTE_CHAR_P(c) ? (dp)->contents[c] : Qnil)
/* Defined in window.c. */
extern struct Lisp_Char_Table *window_display_table ();