term: fix release builds when LOG_ENABLE_DBG=0

This commit is contained in:
Daniel Eklöf 2021-07-31 19:52:23 +02:00
parent 03f952cf4d
commit b7edfc2822
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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);