Commit f084eb91 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(FAST_MAKE_GLYPH): Rename args to CHAR and FACE.

Cast CHAR to unsigned char before using it.
parent 084f76ff
......@@ -877,7 +877,7 @@ typedef unsigned char UCHAR;
/* The FAST macros assume that we already know we're in an X window. */
/* Given a character code and a face ID, return the appropriate glyph. */
#define FAST_MAKE_GLYPH(char, face) ((char) | ((face) << 8))
#define FAST_MAKE_GLYPH(CHAR, FACE) ((unsigned char) (CHAR) | ((FACE) << 8))
/* Return a glyph's character code. */
#define FAST_GLYPH_CHAR(glyph) ((glyph) & 0xff)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment