diff --git a/du5/program.c b/du5/program.c index 4c76874..16ec504 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 (answerCount == 0 || root == -1 || nodeCount == 0) { printf("Chybna databaza\n"); }