From 5d43e9243ce7b3273f2438bec2da170dcc8e329b Mon Sep 17 00:00:00 2001 From: "arg@mig29" Date: Tue, 5 Dec 2006 10:31:20 +0100 Subject: enforcing using imcomplete fonsets anyways --- draw.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'draw.c') diff --git a/draw.c b/draw.c index 74a47a6..56a1beb 100644 --- a/draw.c +++ b/draw.c @@ -88,13 +88,8 @@ setfont(const char *fontstr) { if(dc.font.set) XFreeFontSet(dpy, dc.font.set); dc.font.set = XCreateFontSet(dpy, fontstr, &missing, &n, &def); - if(missing) { + if(missing) XFreeStringList(missing); - if(dc.font.set) { - XFreeFontSet(dpy, dc.font.set); - dc.font.set = NULL; - } - } if(dc.font.set) { XFontSetExtents *font_extents; XFontStruct **xfonts; -- cgit v1.2.3-13-gbd6f