From eadc1c58a2a556ba094facf2824433345f7d96c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Fri, 18 Dec 2020 17:32:54 +0100 Subject: [PATCH] term: fix builds with debug logging enabled DPI_AWARE_ON has been renamed to DPI_AWARE_YES --- terminal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminal.c b/terminal.c index 489d7e3c..208c8700 100644 --- a/terminal.c +++ b/terminal.c @@ -1710,7 +1710,7 @@ term_font_dpi_changed(struct terminal *term) "DPI: %.2f -> %.2f, scale: %d -> %d, " "sizing font based on monitor's %s", 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, will_scale_using_dpi ? "DPI" : "scaling factor"); }