fix global variable usage

This commit is contained in:
Roman Fomin 2023-10-13 23:17:33 +07:00
parent f61e88f418
commit e4b3be3590

View File

@ -62,7 +62,7 @@ static boolean vt_mode_enabled = false;
static void EnableVTMode(void) static void EnableVTMode(void)
{ {
HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE); hConsole = GetStdHandle(STD_OUTPUT_HANDLE);
if (hConsole == INVALID_HANDLE_VALUE) if (hConsole == INVALID_HANDLE_VALUE)
{ {
return; return;