diff --git a/cv8/program.c b/cv8/program.c index 28275a2..b73b4c7 100644 --- a/cv8/program.c +++ b/cv8/program.c @@ -45,7 +45,7 @@ void search(struct tree* this){ printf("Koniec vstupu\n"); exit(0); } - if(buffet[0] == '\n'){ + if(buffer[0] == '\n'){ search(this); } if(buffer[0] != 'a' || buffer[0] != 'n' || buffer[0] != '\n'){