diff src/xfns.c @ 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 3b8eabf02bad
children 77c93cbb1721 0fe073a08cef
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);