aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-12-18 16:32:54 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-12-20 14:43:26 +0000
commiteadc1c58a2a556ba094facf2824433345f7d96c8 (patch)
tree170d5c9987c09efe704a77c8d034261065c883d5
parentmeson/pkgbuild: bump version to 1.6.0 (diff)
term: fix builds with debug logging enabled
DPI_AWARE_ON has been renamed to DPI_AWARE_YES
-rw-r--r--terminal.c2
1 files changed, 1 insertions, 1 deletions
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");
}