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
commit3046d6fcf7e4e64ed1528eb839edf04aae72b260 (patch)
tree1aa6fc780007381cc40751c529e92fbe6787842d /src/disptab.h
parentca38bbb2b812999fadb999c09be5d14d5b7dbc97 (diff)
downloademacs-3046d6fcf7e4e64ed1528eb839edf04aae72b260.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 ();