From 30eab1124dc7f5908ca14f97b6ff5ec77e3e1911 Mon Sep 17 00:00:00 2001 From: actionless Date: Wed, 20 Feb 2019 18:04:23 +0100 Subject: [PATCH] chore(common: version): replace unicode symbols to yes/no There are some usecases when terminal font not providing those characters at all or they're provided by fallback font with different dimensions. Both of the issues above could affect readability/clarity of the version output. --- common/version.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/common/version.c b/common/version.c index 00833a95..aae63fdb 100644 --- a/common/version.c +++ b/common/version.c @@ -50,19 +50,19 @@ eprint_version(void) (void) luaL_dostring(L, "return require('lgi.version')"); #ifdef WITH_DBUS - const char *has_dbus = "✔"; + const char *has_dbus = "yes"; #else - const char *has_dbus = "✘"; + const char *has_dbus = "no"; #endif #ifdef WITH_XCB_ERRORS - const char *has_xcb_errors = "✔"; + const char *has_xcb_errors = "yes"; #else - const char *has_xcb_errors = "✘"; + const char *has_xcb_errors = "no"; #endif #ifdef HAS_EXECINFO - const char *has_execinfo = "✔"; + const char *has_execinfo = "yes"; #else - const char *has_execinfo = "✘"; + const char *has_execinfo = "no"; #endif printf("awesome %s (%s)\n"