Browse Source

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.
actionless 9 months ago
parent
commit
30eab1124d
1 changed files with 6 additions and 6 deletions
  1. 6
    6
      common/version.c

+ 6
- 6
common/version.c View File

@@ -50,19 +50,19 @@ eprint_version(void)
50 50
     (void) luaL_dostring(L, "return require('lgi.version')");
51 51
 
52 52
 #ifdef WITH_DBUS
53
-    const char *has_dbus = "";
53
+    const char *has_dbus = "yes";
54 54
 #else
55
-    const char *has_dbus = "";
55
+    const char *has_dbus = "no";
56 56
 #endif
57 57
 #ifdef WITH_XCB_ERRORS
58
-    const char *has_xcb_errors = "";
58
+    const char *has_xcb_errors = "yes";
59 59
 #else
60
-    const char *has_xcb_errors = "";
60
+    const char *has_xcb_errors = "no";
61 61
 #endif
62 62
 #ifdef HAS_EXECINFO
63
-    const char *has_execinfo = "";
63
+    const char *has_execinfo = "yes";
64 64
 #else
65
-    const char *has_execinfo = "";
65
+    const char *has_execinfo = "no";
66 66
 #endif
67 67
 
68 68
     printf("awesome %s (%s)\n"

Loading…
Cancel
Save