Skip to content
Snippets Groups Projects
Commit 268efd5a authored by orestis.malaspin's avatar orestis.malaspin
Browse files

Merge branch 'Alejandro.Escribano-master-patch-04646' into 'master'

Updated small typo in pretty_print() function

See merge request algorithmique/cours!20
parents ea8dca29 028101ec
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