Skip to content
Snippets Groups Projects
Commit 028101ec authored by alejandr.escriban's avatar alejandr.escriban
Browse files

Updated small typo in pretty_print() function

parent ea8dca29
No related branches found
No related tags found
No related merge requests found
...@@ -707,7 +707,7 @@ void pretty_print(tree_t tree, int n) { ...@@ -707,7 +707,7 @@ void pretty_print(tree_t tree, int n) {
printf(" "); printf(" ");
} }
printf("%d\n", tree->info); printf("%d\n", tree->info);
pretty_print(tree->left); pretty_print(tree->left, n+1);
} }
} }
``` ```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment