removed artifact from wmii menu
This commit is contained in:
parent
44e372bb31
commit
c24f22a36b
2
dmenu.c
2
dmenu.c
|
@ -280,8 +280,6 @@ initfont(const char *fontstr) {
|
||||||
if(!fontstr || fontstr[0] == '\0')
|
if(!fontstr || fontstr[0] == '\0')
|
||||||
eprint("error, cannot load font: '%s'\n", fontstr);
|
eprint("error, cannot load font: '%s'\n", fontstr);
|
||||||
missing = NULL;
|
missing = NULL;
|
||||||
if(dc.font.set)
|
|
||||||
XFreeFontSet(dpy, dc.font.set);
|
|
||||||
dc.font.set = XCreateFontSet(dpy, fontstr, &missing, &n, &def);
|
dc.font.set = XCreateFontSet(dpy, fontstr, &missing, &n, &def);
|
||||||
if(missing)
|
if(missing)
|
||||||
XFreeStringList(missing);
|
XFreeStringList(missing);
|
||||||
|
|
Loading…
Reference in New Issue