mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 11:22:18 -04:00
fix global variable usage
This commit is contained in:
parent
f61e88f418
commit
e4b3be3590
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user