aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2023-07-16 06:27:12 +0000
committerDaniel Eklöf <daniel@ekloef.se>2023-07-18 03:48:01 +0000
commit2fd29cbf500a5528445f82c59ac76b1762efa60d (patch)
tree15446a46e3c8af1fe32c36a1e5f2f737d8eb5e0a
parentthemes: add chiba-dark theme (diff)
term: (debug): dpi_aware is no longer an enum
-rw-r--r--terminal.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/terminal.c b/terminal.c
index 485e8ca3..213d8c59 100644
--- a/terminal.c
+++ b/terminal.c
@@ -2099,8 +2099,7 @@ term_font_dpi_changed(struct terminal *term, int old_scale)
LOG_DBG("DPI/scale change: DPI-awareness=%s, "
"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_YES ? "yes" : "no",
+ term->conf->dpi_aware ? "yes" : "no",
term->font_dpi, dpi, old_scale, term->scale,
will_scale_using_dpi ? "DPI" : "scaling factor");
}