Mercurial > emacs
changeset 16913:753ef587f1f4
(FAST_MAKE_GLYPH): Rename args to CHAR and FACE.
Cast CHAR to unsigned char before using it.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 21 Jan 1997 05:38:46 +0000 |
parents | 44afc0b3c741 |
children | 4b79df16b939 |
files | src/lisp.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lisp.h Tue Jan 21 05:26:30 1997 +0000 +++ b/src/lisp.h Tue Jan 21 05:38:46 1997 +0000 @@ -877,7 +877,7 @@ /* 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)