Aktualizovat du5/program.c
This commit is contained in:
parent
a15d536937
commit
7ffdfd5849
@ -139,7 +139,7 @@ int main()
|
||||
int root = buildATree();
|
||||
|
||||
printf("Expert z bufetu to vie.\n");
|
||||
if (indexLine != lineCount || root == -1 || nodeCount == 0)
|
||||
if (treeIsBroken || indexLine != lineCount || answerCount == 0)
|
||||
{
|
||||
printf("Chybna databaza\n");
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user