diff --git a/cv8/program.c b/cv8/program.c index b5dd5c4..b2b250a 100644 --- a/cv8/program.c +++ b/cv8/program.c @@ -96,7 +96,7 @@ void knowledge_system(struct tree* node) { return; } - printf("%s", node->value); + printf("%s", node->v); if (node->left == NULL && node->right == NULL) { printf("Koniec\n"); return; @@ -106,7 +106,7 @@ void knowledge_system(struct tree* node) { char response; do { - printf("%s (a/n) ?\n", node->value); + printf("%s (a/n) ?\n", node->v); scanf(" %c", &response); if (response != 'a' && response != 'n') { printf("Nespravny vstup\n");