changeset 37643:fb0bf81296d5

(GLYPH_CHAR_VALID_P): Use CHAR_VALID_P.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 09 May 2001 17:01:27 +0000
parents 3f7b95710cef
children 62c44eb11095
files src/lisp.h
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/lisp.h	Wed May 09 16:09:21 2001 +0000
+++ b/src/lisp.h	Wed May 09 17:01:27 2001 +0000
@@ -1222,8 +1222,7 @@
 #define GLYPH_FACE(f, g) (FAST_GLYPH_FACE (g))
 
 /* Return 1 iff GLYPH contains valid character code.  */
-#define GLYPH_CHAR_VALID_P(glyph) \
-  ((GLYPH) (FAST_GLYPH_CHAR (glyph)) <= MAX_CHAR)
+#define GLYPH_CHAR_VALID_P(glyph) CHAR_VALID_P (FAST_GLYPH_CHAR (glyph), 1)
 
 /* The ID of the mode line highlighting face.  */
 #define GLYPH_MODE_LINE_FACE 1