diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-07-31 17:52:23 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-07-31 17:52:23 +0000 |
| commit | b7edfc2822368f4599cd41caba9a270c501c39d7 (patch) | |
| tree | e801e3e1ad85feb3fba9ef4fad39ba8507fecaa7 | |
| parent | term: consolidate shutdown related state into an anonymous struct (diff) | |
term: fix release builds when LOG_ENABLE_DBG=0
| -rw-r--r-- | terminal.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |
