diff --git a/tinyexpr.c b/tinyexpr.c index 97be41b..3c4e95d 100644 --- a/tinyexpr.c +++ b/tinyexpr.c @@ -381,10 +381,7 @@ double te_interp(const char *expression, int *error) { static void pn (const te_expr *n, int depth) { - int i; - for (i = 0; i < depth; ++i) { - printf(" "); - } + printf("%*s", depth, ""); if (n->bound) { printf("bound %p\n", n->bound);