diff --git a/cv8/program.c b/cv8/program.c index c3e49d7..e64c482 100644 --- a/cv8/program.c +++ b/cv8/program.c @@ -127,7 +127,7 @@ int main(){ printf("Pozna %d druhov ovocia a zeleniny\n", count); printf("Odpovedajte 'a' pre prvu moznost alebo 'n' pre druhu moznost.\n"); printf("%s\n", tree->value); - tree = search(tree+1); + tree = search(tree); //print_tree(tree, 3); //display(tree);