Mercurial > hg > xemacs-beta
diff src/glyphs.h @ 94:1040fe1366ac xemacs-20-0f2
Import from CVS: tag xemacs-20-0f2
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:12:09 +0200 |
parents | 131b0175ea99 |
children | cca96a509cfe |
line wrap: on
line diff
--- a/src/glyphs.h Mon Aug 13 09:11:41 2007 +0200 +++ b/src/glyphs.h Mon Aug 13 09:12:09 2007 +0200 @@ -548,7 +548,7 @@ *****************************************************************************/ #define DISP_TABLE_SIZE 256 -#define DISP_CHAR_ENTRY(dp, c) ((dp)->contents[c]) +#define DISP_CHAR_ENTRY(dp, c) ((c < (dp)->size) ? (dp)->contents[c] : Qnil) struct Lisp_Vector *get_display_table (struct window *, face_index);