From 9db6ae810de05cfbb9e3de3518532035bf256523 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Dj=C3=A4rv?= Date: Tue, 26 Oct 2004 19:47:36 +0000 Subject: [PATCH] * xfns.c (xic_create_xfontset): Check that FRAME_XIC_BASE_FONTNAME is not NULL before strcmp. --- src/xfns.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xfns.c b/src/xfns.c index 2889975e175..ae308c562ba 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -1960,6 +1960,7 @@ xic_create_xfontset (f, base_fontname) 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); -- 2.39.5