aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--terminal.c3
1 files changed, 2 insertions, 1 deletions
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);