From d6ef3c02fbfd098db67f6c890b945d9b4fe30afb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sun, 9 Feb 2020 16:56:59 +0100 Subject: [PATCH] term: log error when failing to initialize the primary fonts --- terminal.c | 1 + 1 file changed, 1 insertion(+) 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;