This commit is contained in:
Maryna Kravtsova 2020-11-22 17:42:50 +01:00
parent 985756ffaf
commit a2f74700c5

View File

@ -45,7 +45,7 @@ void search(struct tree* this){
printf("Koniec vstupu\n"); printf("Koniec vstupu\n");
exit(0); exit(0);
} }
if(buffet[0] == '\n'){ if(buffer[0] == '\n'){
search(this); search(this);
} }
if(buffer[0] != 'a' || buffer[0] != 'n' || buffer[0] != '\n'){ if(buffer[0] != 'a' || buffer[0] != 'n' || buffer[0] != '\n'){