Aktualizovat du5/program.c

This commit is contained in:
Tomáš Vlček 2026-04-15 10:54:55 +00:00
parent b61181bae0
commit 5c5ad64990

View File

@ -131,7 +131,7 @@ int main()
int root = buildATree();
printf("Expert z bufetu to vie.\n");
if (answerCount == 0 || root == -1 || nodeCount == 0)
if (indexLine != lineCount || root == -1 || nodeCount == 0)
{
printf("Chybna databaza\n");
}