mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
term: log error when failing to initialize the primary fonts
This commit is contained in:
parent
f751a213d5
commit
d6ef3c02fb
1 changed files with 1 additions and 0 deletions
|
|
@ -538,6 +538,7 @@ initialize_fonts(const struct terminal *term, const struct config *conf,
|
|||
(fonts[3] = font_from_name(count, names, attrs3)) != NULL;
|
||||
|
||||
if (!ret) {
|
||||
LOG_ERR("failed to load primary fonts");
|
||||
for (size_t i = 0; i < 4; i++) {
|
||||
font_destroy(fonts[i]);
|
||||
fonts[i] = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue