Mercurial > emacs
changeset 57714:7920b90a583c
* xfns.c (xic_create_xfontset): Check that FRAME_XIC_BASE_FONTNAME
is not NULL before strcmp.
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Tue, 26 Oct 2004 19:47:36 +0000 |
parents | 156f101971e4 |
children | cdc48cdd5b0e |
files | src/xfns.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xfns.c Tue Oct 26 19:09:40 2004 +0000 +++ b/src/xfns.c Tue Oct 26 19:47:36 2004 +0000 @@ -1960,6 +1960,7 @@ struct frame *cf = XFRAME (frame); if (cf != f && FRAME_LIVE_P (f) && FRAME_X_P (cf) && FRAME_X_DISPLAY_INFO (cf) == FRAME_X_DISPLAY_INFO (f) + && FRAME_XIC_BASE_FONTNAME (cf) && !strcmp (FRAME_XIC_BASE_FONTNAME (cf), base_fontname)) { xfs = FRAME_XIC_FONTSET (cf);