diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-12-18 16:32:54 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-12-18 16:32:54 +0000 |
| commit | 2a82096749a93eed3b157ad002ef1bbadfbb6940 (patch) | |
| tree | 228de81c3c9ebc6ca14b70e2990643feddfa02a1 | |
| parent | changelog: add new ‘unreleased’ section (diff) | |
term: fix builds with debug logging enabled
DPI_AWARE_ON has been renamed to DPI_AWARE_YES
| -rw-r--r-- | terminal.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"); } |
