diff options
author | Anselm R Garbe <garbeam@gmail.com> | 2008-08-23 09:33:56 +0100 |
---|---|---|
committer | Anselm R Garbe <garbeam@gmail.com> | 2008-08-23 09:33:56 +0100 |
commit | c24f22a36bb986287f2b53116dff6479c434bc7d (patch) | |
tree | 78e563f4e8c6d690b74fad2ded2555989070e2a8 | |
parent | 44e372bb31407f896a75d921cf97a29b4d84a4d8 (diff) |
removed artifact from wmii menu
-rw-r--r-- | dmenu.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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); |