summaryrefslogtreecommitdiff
path: root/src/busctl
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-12-13 22:11:32 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-12-14 08:22:54 +0100
commit9a6f746fb6e21dc4fe79ed93dde8b79371a13d34 (patch)
tree3893a2ce756b0326fd463a7d7244d2ad82a4f6fb /src/busctl
parentfd0ec39d3848029abd3a439e84c5728331de2128 (diff)
downloadsystemd-9a6f746fb6e21dc4fe79ed93dde8b79371a13d34.tar.gz
systemd-9a6f746fb6e21dc4fe79ed93dde8b79371a13d34.tar.bz2
systemd-9a6f746fb6e21dc4fe79ed93dde8b79371a13d34.zip
locale-util: prefix special glyph enum values with SPECIAL_GLYPH_
This has been irritating me for quite a while: let's prefix these enum values with a common prefix, like we do for almost all other enums. No change in behaviour, just some renaming.
Diffstat (limited to 'src/busctl')
-rw-r--r--src/busctl/busctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/busctl/busctl.c b/src/busctl/busctl.c
index 0bcc89f6f2..96b4177495 100644
--- a/src/busctl/busctl.c
+++ b/src/busctl/busctl.c
@@ -329,8 +329,8 @@ static void print_subtree(const char *prefix, const char *path, char **l) {
l++;
}
- vertical = strjoina(prefix, special_glyph(TREE_VERTICAL));
- space = strjoina(prefix, special_glyph(TREE_SPACE));
+ vertical = strjoina(prefix, special_glyph(SPECIAL_GLYPH_TREE_VERTICAL));
+ space = strjoina(prefix, special_glyph(SPECIAL_GLYPH_TREE_SPACE));
for (;;) {
bool has_more = false;
@@ -351,7 +351,7 @@ static void print_subtree(const char *prefix, const char *path, char **l) {
n++;
}
- printf("%s%s%s\n", prefix, special_glyph(has_more ? TREE_BRANCH : TREE_RIGHT), *l);
+ printf("%s%s%s\n", prefix, special_glyph(has_more ? SPECIAL_GLYPH_TREE_BRANCH : SPECIAL_GLYPH_TREE_RIGHT), *l);
print_subtree(has_more ? vertical : space, *l, l);
l = n;