diff --git a/07/solution.c b/07/solution.c index cadd59a..b44cde5 100644 --- a/07/solution.c +++ b/07/solution.c @@ -70,8 +70,7 @@ int main(int argc, char **argv) { current = findent(current, 1, l + 5); } } else if (l[0] == 'd') { - if (!findent(current, 1, l + 4)) - addent(current, 1, l + 4); + addent(current, 1, l + 4); } else { char *p; size_t sz = strtoul(l, &p, 10);