From e4b3be3590cf82d2b772b00167b9067eff759462 Mon Sep 17 00:00:00 2001 From: Roman Fomin Date: Fri, 13 Oct 2023 23:17:33 +0700 Subject: [PATCH] fix global variable usage --- src/i_printf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/i_printf.c b/src/i_printf.c index 8cf8eb6c..5636ada1 100644 --- a/src/i_printf.c +++ b/src/i_printf.c @@ -62,7 +62,7 @@ static boolean vt_mode_enabled = false; static void EnableVTMode(void) { - HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE); + hConsole = GetStdHandle(STD_OUTPUT_HANDLE); if (hConsole == INVALID_HANDLE_VALUE) { return;