aboutsummaryrefslogtreecommitdiff
path: root/Computer_Science/data_structures/chapter_4/print_ascii_tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'Computer_Science/data_structures/chapter_4/print_ascii_tree.c')
-rw-r--r--Computer_Science/data_structures/chapter_4/print_ascii_tree.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Computer_Science/data_structures/chapter_4/print_ascii_tree.c b/Computer_Science/data_structures/chapter_4/print_ascii_tree.c
index f2e9839..7b71d27 100644
--- a/Computer_Science/data_structures/chapter_4/print_ascii_tree.c
+++ b/Computer_Science/data_structures/chapter_4/print_ascii_tree.c
@@ -2,7 +2,7 @@
#include <string.h>
#include <stdlib.h>
-#include "binary_search_tree.h"
+#include "avl_tree.h"
#include "print_ascii_tree.h"
struct asciinode_struct
@@ -256,6 +256,7 @@ void print_ascii_tree(Tree t)
asciinode *proot;
int xmin, i;
if (t == NULL) return;
+ printf("\n");
proot = build_ascii_tree(t);
compute_edge_lengths(proot);
for (i=0; i<proot->height && i < MAX_HEIGHT; i++)