diff options
-rw-r--r-- | config.mk | 2 | ||||
-rw-r--r-- | draw.c | 7 |
2 files changed, 2 insertions, 7 deletions
@@ -1,5 +1,5 @@ # dmenu version -VERSION = 1.5 +VERSION = 1.6 # Customize below to fit your system @@ -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; |