diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2023-06-26 16:00:01 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2023-06-29 13:38:24 +0000 |
| commit | 9db92bd942706d6d0ca0250d6011c49ec88f4051 (patch) | |
| tree | b1951281f2cfac73e180621c4f58306d122ebca8 /client.c | |
| parent | changelog: dpi-aware’s default value is now ‘no’ (diff) | |
feature: add a feature flag (for --version) for fractional scaling
Diffstat (limited to 'client.c')
| -rw-r--r-- | client.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -66,11 +66,13 @@ static const char * version_and_features(void) { static char buf[256]; - snprintf(buf, sizeof(buf), "version: %s %cpgo %cime %cgraphemes %cassertions", + snprintf(buf, sizeof(buf), + "version: %s %cpgo %cime %cgraphemes %cfractional-scaling %cassertions", FOOT_VERSION, feature_pgo() ? '+' : '-', feature_ime() ? '+' : '-', feature_graphemes() ? '+' : '-', + feature_fractional_scaling() ? '+' : ':', feature_assertions() ? '+' : '-'); return buf; } |
