From a319ddf094cd015673bb80e8137cbebaeaa2c26e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Thu, 24 Jun 2021 17:50:30 +0200 Subject: [PATCH] foot: add +/-graphemes to version output --- main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index 2c392fca..bbe89052 100644 --- a/main.c +++ b/main.c @@ -45,10 +45,11 @@ static const char * version_and_features(void) { static char buf[256]; - snprintf(buf, sizeof(buf), "version: %s %cime %cpgo", + snprintf(buf, sizeof(buf), "version: %s %cpgo %cime %cgraphemes", FOOT_VERSION, + feature_pgo() ? '+' : '-', feature_ime() ? '+' : '-', - feature_pgo() ? '+' : '-'); + feature_graphemes() ? '+' : '-'); return buf; }