This commit is contained in:
Anton Dolozin 2025-11-09 18:13:58 +01:00
parent 95a7466af2
commit 6a86061ac2

View File

@ -93,7 +93,7 @@ int main(void){
int numOfLeaves = count_leaves(tree);
char answer[SIZE];
printf("Expert z bufetu to vie.\n");
if(!tree){
if(!tree || !whitespace){
printf("Chybna databaza\n");
return 0;
}