term: fix builds with debug logging enabled

DPI_AWARE_ON has been renamed to DPI_AWARE_YES
This commit is contained in:
Daniel Eklöf 2020-12-18 17:32:54 +01:00
parent 9dff817d31
commit 2a82096749
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -1710,7 +1710,7 @@ term_font_dpi_changed(struct terminal *term)
"DPI: %.2f -> %.2f, scale: %d -> %d, " "DPI: %.2f -> %.2f, scale: %d -> %d, "
"sizing font based on monitor's %s", "sizing font based on monitor's %s",
term->conf->dpi_aware == DPI_AWARE_AUTO ? "auto" : term->conf->dpi_aware == DPI_AWARE_AUTO ? "auto" :
term->conf->dpi_aware == DPI_AWARE_ON ? "yes" : "no", term->conf->dpi_aware == DPI_AWARE_YES ? "yes" : "no",
term->font_dpi, dpi, term->font_scale, scale, term->font_dpi, dpi, term->font_scale, scale,
will_scale_using_dpi ? "DPI" : "scaling factor"); will_scale_using_dpi ? "DPI" : "scaling factor");
} }