client: add +/-graphemes to version output

This commit is contained in:
Daniel Eklöf 2021-06-24 17:50:44 +02:00
parent a319ddf094
commit 3f0f5ec3b7
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -43,10 +43,11 @@ static const char *
version_and_features(void) version_and_features(void)
{ {
static char buf[256]; static char buf[256];
snprintf(buf, sizeof(buf), "version: %s %cime %cpgo", snprintf(buf, sizeof(buf), "version: %s %cpgo %cime %cgraphemes",
FOOT_VERSION, FOOT_VERSION,
feature_pgo() ? '+' : '-',
feature_ime() ? '+' : '-', feature_ime() ? '+' : '-',
feature_pgo() ? '+' : '-'); feature_graphemes() ? '+' : '-');
return buf; return buf;
} }