From 9db92bd942706d6d0ca0250d6011c49ec88f4051 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Mon, 26 Jun 2023 18:00:01 +0200 Subject: feature: add a feature flag (for --version) for fractional scaling --- client.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'client.c') diff --git a/client.c b/client.c index 6954d17e..84bfb2c3 100644 --- a/client.c +++ b/client.c @@ -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; } -- cgit v1.3