enforcing using imcomplete fonsets anyways
This commit is contained in:
parent
1026eb8308
commit
5d43e9243c
2 changed files with 2 additions and 7 deletions
7
draw.c
7
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue