term: (debug): dpi_aware is no longer an enum

This commit is contained in:
Daniel Eklöf 2023-07-16 08:27:12 +02:00
parent da81b63ec0
commit 2fd29cbf50
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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");
}