aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dmenu.c2
1 files changed, 0 insertions, 2 deletions
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) {
280 if(!fontstr || fontstr[0] == '\0') 280 if(!fontstr || fontstr[0] == '\0')
281 eprint("error, cannot load font: '%s'\n", fontstr); 281 eprint("error, cannot load font: '%s'\n", fontstr);
282 missing = NULL; 282 missing = NULL;
283 if(dc.font.set)
284 XFreeFontSet(dpy, dc.font.set);
285 dc.font.set = XCreateFontSet(dpy, fontstr, &missing, &n, &def); 283 dc.font.set = XCreateFontSet(dpy, fontstr, &missing, &n, &def);
286 if(missing) 284 if(missing)
287 XFreeStringList(missing); 285 XFreeStringList(missing);