From: Anselm R Garbe Date: Sat, 23 Aug 2008 08:33:56 +0000 (+0100) Subject: removed artifact from wmii menu X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=c24f22a36bb986287f2b53116dff6479c434bc7d;p=dmenu.git removed artifact from wmii menu --- diff --git a/dmenu.c b/dmenu.c index 463f929..d0c63db 100644 --- a/dmenu.c +++ b/dmenu.c @@ -280,8 +280,6 @@ initfont(const char *fontstr) { if(!fontstr || fontstr[0] == '\0') eprint("error, cannot load font: '%s'\n", fontstr); missing = NULL; - if(dc.font.set) - XFreeFontSet(dpy, dc.font.set); dc.font.set = XCreateFontSet(dpy, fontstr, &missing, &n, &def); if(missing) XFreeStringList(missing);