No one cares about missing fontsets.

This commit is contained in:
Kris Maglione 2009-10-20 01:40:59 -04:00
parent 7e95268cd3
commit e156d03e09
1 changed files with 9 additions and 7 deletions

View File

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