From b7edfc2822368f4599cd41caba9a270c501c39d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sat, 31 Jul 2021 19:52:23 +0200 Subject: [PATCH] term: fix release builds when LOG_ENABLE_DBG=0 --- terminal.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/terminal.c b/terminal.c index 72d7b9f9..5f1a4bdd 100644 --- a/terminal.c +++ b/terminal.c @@ -2024,9 +2024,10 @@ term_font_subpixel_changed(struct terminal *term) [FCFT_SUBPIXEL_VERTICAL_RGB] = "V-RGB", [FCFT_SUBPIXEL_VERTICAL_BGR] = "V-BGR", }; -#endif LOG_DBG("subpixel mode changed: %s -> %s", str[term->font_subpixel], str[subpixel]); +#endif + term->font_subpixel = subpixel; term_damage_view(term); render_refresh(term);