commit 5d43e9243ce7b3273f2438bec2da170dcc8e329b
parent 1026eb83089c3e79a12d2d74f3b6b01703e6f55a
Author: arg@mig29 <unknown>
Date: Tue, 5 Dec 2006 10:31:20 +0100
enforcing using imcomplete fonsets anyways
Diffstat:
2 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/config.mk b/config.mk
@@ -1,5 +1,5 @@
# dmenu version
-VERSION = 1.5
+VERSION = 1.6
# Customize below to fit your system
diff --git 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;