terminal: fix compilation error when debug logging is enabled

Without this fix, setting LOG_ENABLE_DBG to 1 in terminal.c would
cause the following error:

> terminal.c:1787: 'struct terminal' has no member named 'font_scale'

The 'font_scale' member was removed in commit
2afc678236.
This commit is contained in:
Craig Barnes 2021-06-08 13:10:46 +01:00
parent 95c4a8ccfb
commit b34d76f711

View file

@ -1780,11 +1780,11 @@ term_font_dpi_changed(struct terminal *term, int old_scale)
if (need_font_reload) {
LOG_DBG("DPI/scale change: DPI-awareness=%s, "
"DPI: %.2f -> %.2f, scale: %d -> %d, "
"DPI: %.2f -> %.2f, scale: %d, "
"sizing font based on monitor's %s",
term->conf->dpi_aware == DPI_AWARE_AUTO ? "auto" :
term->conf->dpi_aware == DPI_AWARE_YES ? "yes" : "no",
term->font_dpi, dpi, term->font_scale, term->scale,
term->font_dpi, dpi, term->scale,
will_scale_using_dpi ? "DPI" : "scaling factor");
}