mirror of https://github.com/0intro/wmii
No one cares about missing fontsets.
This commit is contained in:
parent
7e95268cd3
commit
e156d03e09
|
@ -689,13 +689,15 @@ loadfont(char *name) {
|
|||
}else {
|
||||
f->font.set = XCreateFontSet(display, name, &missing, &n, nil);
|
||||
if(missing) {
|
||||
b = Bfdopen(dup(2), O_WRONLY);
|
||||
Bprint(b, "%s: note: missing fontset%s for '%s':", argv0,
|
||||
(n > 1 ? "s" : ""), name);
|
||||
for(i = 0; i < n; i++)
|
||||
Bprint(b, "%s %s", (i ? "," : ""), missing[i]);
|
||||
Bprint(b, "\n");
|
||||
Bterm(b);
|
||||
if(false) {
|
||||
b = Bfdopen(dup(2), O_WRONLY);
|
||||
Bprint(b, "%s: note: missing fontset%s for '%s':", argv0,
|
||||
(n > 1 ? "s" : ""), name);
|
||||
for(i = 0; i < n; i++)
|
||||
Bprint(b, "%s %s", (i ? "," : ""), missing[i]);
|
||||
Bprint(b, "\n");
|
||||
Bterm(b);
|
||||
}
|
||||
freestringlist(missing);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue