Mercurial > hg > xemacs-beta
comparison src/faces.h @ 3676:3ef0aaf3dc34
[xemacs-hg @ 2006-11-12 13:40:04 by aidan]
Prevent a crash if the ASCII charset registries match nothing.
author | aidan |
---|---|
date | Sun, 12 Nov 2006 13:40:09 +0000 |
parents | 98af8a976fc3 |
children | d95c102a96d3 e0db3c197671 |
comparison
equal
deleted
inserted
replaced
3675:0492077a2e85 | 3676:3ef0aaf3dc34 |
---|---|
384 | 384 |
385 #define FACE_FOREGROUND(face, domain) \ | 385 #define FACE_FOREGROUND(face, domain) \ |
386 FACE_PROPERTY_INSTANCE (face, Qforeground, domain, 0, Qzero) | 386 FACE_PROPERTY_INSTANCE (face, Qforeground, domain, 0, Qzero) |
387 #define FACE_BACKGROUND(face, domain) \ | 387 #define FACE_BACKGROUND(face, domain) \ |
388 FACE_PROPERTY_INSTANCE (face, Qbackground, domain, 0, Qzero) | 388 FACE_PROPERTY_INSTANCE (face, Qbackground, domain, 0, Qzero) |
389 | |
390 /* Calling this function on the default face with the ASCII character set | |
391 may delete any X11 frames; see the code at the end of | |
392 x_find_charset_font. */ | |
389 #define FACE_FONT(face, domain, charset) \ | 393 #define FACE_FONT(face, domain, charset) \ |
390 face_property_matching_instance (face, Qfont, charset, domain, \ | 394 face_property_matching_instance (face, Qfont, charset, domain, \ |
391 ERROR_ME_DEBUG_WARN, 0, Qzero, \ | 395 ERROR_ME_DEBUG_WARN, 0, Qzero, \ |
392 initial) | 396 initial) |
393 #define FACE_DISPLAY_TABLE(face, domain) \ | 397 #define FACE_DISPLAY_TABLE(face, domain) \ |