This commit is contained in:
mr314ot 2025-11-21 08:30:27 +01:00
parent 35e328d9ff
commit 92be9ce7d4

View File

@ -80,11 +80,11 @@ int run_system(Tree *node) {
return 0;
}
if (strcmp(c,'a') == 0) {
if (strcmp(c,"a") == 0) {
if (node->left != NULL){
return run_system(node->left);
}
} else if (strcmp(c, 'n') == 0) {
} else if (strcmp(c, "n") == 0) {
if (node->right != NULL){
return run_system(node->right);
}