[pacman-dev] [PATCH] pactree: unindent first limb
Andrew Gregory
andrew.gregory.8 at gmail.com
Fri Oct 26 14:22:48 EDT 2012
Removing the leader for the toplevel package shifted the name left
but not it's limb.
Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
---
For the pactree-cleanup branch.
src/util/pactree.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/util/pactree.c b/src/util/pactree.c
index 7b8fd93..0c1710f 100644
--- a/src/util/pactree.c
+++ b/src/util/pactree.c
@@ -336,7 +336,7 @@ static void print_text(const char *pkg, const char *provision,
tdepth *depth, int last)
{
const char* tip = "";
- int level = 0;
+ int level = 1;
if(!pkg && !provision) {
/* not much we can do */
return;
--
1.8.0
More information about the pacman-dev
mailing list