aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-02-09 15:56:59 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-02-09 15:56:59 +0000
commitd6ef3c02fbfd098db67f6c890b945d9b4fe30afb (patch)
treeb5b19a3c810b3b7ef2cbf6735de3dfabbb2743b7
parentMerge branch 'document-text-resize' (diff)
term: log error when failing to initialize the primary fonts
-rw-r--r--terminal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/terminal.c b/terminal.c
index a07b1912..b179862d 100644
--- a/terminal.c
+++ b/terminal.c
@@ -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;