From 214acc50393d7223193e133f8aa23f1cb47ff9d5 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Thu, 20 Feb 1997 06:47:55 +0000 Subject: [PATCH] (DISP_CHAR_VECTOR): Always return nil for multibyte characters. --- src/disptab.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 (); -- 2.39.2