diff options
author | Thorsten Wißmann <edu@thorsten-wissmann.de> | 2012-09-02 15:43:21 +0200 |
---|---|---|
committer | Thorsten Wißmann <edu@thorsten-wissmann.de> | 2012-09-02 16:02:03 +0200 |
commit | b1af75a85ca9b66206274a736078f77921bbd812 (patch) | |
tree | 290e7307a31794dfa5789bc8cd6948321e566168 /src/utils.c | |
parent | e708b9219c60a40f382bbaf82506a42dbd726e30 (diff) |
Insert a space in front of every tree caption
Diffstat (limited to 'src/utils.c')
-rw-r--r-- | src/utils.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utils.c b/src/utils.c index 5b289427..63fb6f47 100644 --- a/src/utils.c +++ b/src/utils.c @@ -391,6 +391,8 @@ static void subtree_print_to(HSTreeInterface* intface, char* indent, if (child_count == 0) { g_string_append(*output, rootprefix); *output = g_string_append_unichar(*output, + UTF8_STRING_AT(g_tree_style, 6)); + *output = g_string_append_unichar(*output, UTF8_STRING_AT(g_tree_style, 5)); *output = g_string_append_c(*output, ' '); // append caption @@ -403,6 +405,7 @@ static void subtree_print_to(HSTreeInterface* intface, char* indent, *output = g_string_append_unichar(*output, UTF8_STRING_AT(g_tree_style, 7)); // apend caption + g_string_append_c(*output, ' '); intface->append_caption(root, output); *output = g_string_append_c(*output, '\n'); // apend children |