From 5c5ad649905e5331a5841bce24a3a60a2466238c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Vl=C4=8Dek?= Date: Wed, 15 Apr 2026 10:54:55 +0000 Subject: [PATCH] Aktualizovat du5/program.c --- du5/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/du5/program.c b/du5/program.c index 16ec504..14b0599 100644 --- a/du5/program.c +++ b/du5/program.c @@ -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"); }