fcft: update to 1.1.0

This commit is contained in:
Daniel Eklöf 2020-02-01 20:20:22 +01:00
parent 8c32e3ccf0
commit 31baf334b3
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 6 additions and 6 deletions

View file

@ -516,10 +516,10 @@ initialize_fonts(struct terminal *term, const struct config *conf)
snprintf(attrs3, sizeof(attrs3), "dpi=%u:weight=bold:slant=italic", dpi);
return (
(term->fonts[0] = font_from_name(names, count, attrs0)) != NULL &&
(term->fonts[1] = font_from_name(names, count, attrs1)) != NULL &&
(term->fonts[2] = font_from_name(names, count, attrs2)) != NULL &&
(term->fonts[3] = font_from_name(names, count, attrs3)) != NULL);
(term->fonts[0] = font_from_name(count, names, attrs0)) != NULL &&
(term->fonts[1] = font_from_name(count, names, attrs1)) != NULL &&
(term->fonts[2] = font_from_name(count, names, attrs2)) != NULL &&
(term->fonts[3] = font_from_name(count, names, attrs3)) != NULL);
}
struct terminal *