1
0

removed artifact from wmii menu

This commit is contained in:
Anselm R Garbe 2008-08-23 09:33:56 +01:00
parent 44e372bb31
commit c24f22a36b

View File

@ -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);