From d35690aa87ae76684e294e126ab6a9bc71c7ab2f Mon Sep 17 00:00:00 2001 From: Viktor Daniv Date: Sat, 26 Oct 2024 19:45:15 +0000 Subject: [PATCH] Update a1/program.c --- a1/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/a1/program.c b/a1/program.c index 3cb7d04..b059b14 100644 --- a/a1/program.c +++ b/a1/program.c @@ -49,7 +49,7 @@ void check_brackets(const char *code) { // Перевірка, чи всі дужки закриті if (stack_top >= 0) { - printf("Missing closing bracket: %c\n", expected); + printf("Missing closing bracket: %c\n", expected_close); } else { printf("All brackets OK\n"); }