From a8ccc5405268aab54a0dd4545a507fa4e60efd6f Mon Sep 17 00:00:00 2001 From: Maryna Kravtsova Date: Sat, 21 Nov 2020 18:35:27 +0100 Subject: [PATCH] buffet --- cv8/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);