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.
This commit is contained in:
actionless 2019-02-20 18:04:23 +01:00
parent 74410e9490
commit 30eab1124d
1 changed files with 6 additions and 6 deletions

View File

@ -50,19 +50,19 @@ eprint_version(void)
(void) luaL_dostring(L, "return require('lgi.version')"); (void) luaL_dostring(L, "return require('lgi.version')");
#ifdef WITH_DBUS #ifdef WITH_DBUS
const char *has_dbus = ""; const char *has_dbus = "yes";
#else #else
const char *has_dbus = ""; const char *has_dbus = "no";
#endif #endif
#ifdef WITH_XCB_ERRORS #ifdef WITH_XCB_ERRORS
const char *has_xcb_errors = ""; const char *has_xcb_errors = "yes";
#else #else
const char *has_xcb_errors = ""; const char *has_xcb_errors = "no";
#endif #endif
#ifdef HAS_EXECINFO #ifdef HAS_EXECINFO
const char *has_execinfo = ""; const char *has_execinfo = "yes";
#else #else
const char *has_execinfo = ""; const char *has_execinfo = "no";
#endif #endif
printf("awesome %s (%s)\n" printf("awesome %s (%s)\n"