aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1997-01-21 05:38:46 +0000
committerRichard M. Stallman1997-01-21 05:38:46 +0000
commitf084eb91d530b5613c27092c8d2d3fb24260d569 (patch)
tree3d52ee7130baf3f65237237bceaf9baa633dd893 /src
parent084f76ff7ff28d6a111740a7c5ad197a91f15b52 (diff)
downloademacs-f084eb91d530b5613c27092c8d2d3fb24260d569.tar.gz
emacs-f084eb91d530b5613c27092c8d2d3fb24260d569.zip
(FAST_MAKE_GLYPH): Rename args to CHAR and FACE.
Cast CHAR to unsigned char before using it.
Diffstat (limited to 'src')
-rw-r--r--src/lisp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lisp.h b/src/lisp.h
index f478539f2cb..e6a7e6ed04f 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -877,7 +877,7 @@ typedef unsigned char UCHAR;
877/* The FAST macros assume that we already know we're in an X window. */ 877/* The FAST macros assume that we already know we're in an X window. */
878 878
879/* Given a character code and a face ID, return the appropriate glyph. */ 879/* Given a character code and a face ID, return the appropriate glyph. */
880#define FAST_MAKE_GLYPH(char, face) ((char) | ((face) << 8)) 880#define FAST_MAKE_GLYPH(CHAR, FACE) ((unsigned char) (CHAR) | ((FACE) << 8))
881 881
882/* Return a glyph's character code. */ 882/* Return a glyph's character code. */
883#define FAST_GLYPH_CHAR(glyph) ((glyph) & 0xff) 883#define FAST_GLYPH_CHAR(glyph) ((glyph) & 0xff)