Skip to content

Commit

Permalink
fix global variable usage
Browse files Browse the repository at this point in the history
  • Loading branch information
rfomin committed Oct 13, 2023
1 parent f61e88f commit e4b3be3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/i_printf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e4b3be3

Please sign in to comment.