diff --git a/du5/program.c b/du5/program.c index b99177e..0767e67 100644 --- a/du5/program.c +++ b/du5/program.c @@ -62,7 +62,7 @@ int buildATree() //kontrola - jedna otazka musii mat dve deti (AK NIE vyhodi chybu) if (tree[current].yes == -1 || tree[current].no == -1) { - treeIsBroken = true; + isTreeBroken = true; } return current;