aboutsummaryrefslogtreecommitdiff
path: root/nodelink.c
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-06-05 21:40:36 -0400
committerHolden Rohrer <hr@hrhr.dev>2020-06-05 21:40:36 -0400
commit3e1cec290e04799d1596e79d4ca467e15a5d065a (patch)
treedcb8b3f034af4cee7ed79163210ed16930923f51 /nodelink.c
parentf059b5da4cca2ab4d374a1f3bca8499a5d399032 (diff)
changed base name from :root to :
Diffstat (limited to 'nodelink.c')
-rw-r--r--nodelink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nodelink.c b/nodelink.c
index 2838593..8c98690 100644
--- a/nodelink.c
+++ b/nodelink.c
@@ -31,7 +31,7 @@ static void printeach(strbstnode* loc, char reprint) {
if (!reprint) printf(" "); // indent on subnode
printlink(loc->ind, loc->data); // prints it
// and subnodes if iterating over root tree (except root link)
- if (reprint && strcmp(loc->ind,"root")) {
+ if (reprint && strcmp(loc->ind,"")) {
// prints the link's target's link tree
printeach( ( (link*)loc->data)->to->links->head, 0);
}