aboutsummaryrefslogtreecommitdiff
path: root/client.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-10-23 13:40:54 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-10-23 13:40:54 +0000
commit3155ab45fe392f1dd4984f034d6048f8d79a2228 (patch)
tree05891666a11447c04d733cbc8e9e1adf7db17312 /client.c
parentterm: bell: simplify if-statement - we don’t need two nested levels (diff)
foot/client: version info: add +/- assertions
Diffstat (limited to 'client.c')
-rw-r--r--client.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/client.c b/client.c
index 5c767e11..d9566e15 100644
--- a/client.c
+++ b/client.c
@@ -43,11 +43,12 @@ static const char *
version_and_features(void)
{
static char buf[256];
- snprintf(buf, sizeof(buf), "version: %s %cpgo %cime %cgraphemes",
+ snprintf(buf, sizeof(buf), "version: %s %cpgo %cime %cgraphemes %cassertions",
FOOT_VERSION,
feature_pgo() ? '+' : '-',
feature_ime() ? '+' : '-',
- feature_graphemes() ? '+' : '-');
+ feature_graphemes() ? '+' : '-',
+ feature_assertions() ? '+' : '-');
return buf;
}