Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
aroidzap authored and pato-melowntech committed Apr 8, 2023
1 parent f759dc4 commit 68df15c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions examples/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -318,13 +318,8 @@ void win32_console_init(bool enable_color) {
}
void* hConIn = GetStdHandle((unsigned long)-10); // STD_INPUT_HANDLE (-10)
if (hConIn && hConIn != (void*)-1 && GetConsoleMode(hConIn, &dwMode)) {
#if 0
// Set console input codepage to UTF8
SetConsoleCP(CP_UTF8);
#else
// Set console input codepage to UTF16
_setmode(_fileno(stdin), _O_WTEXT);
#endif
}
}

Expand Down

0 comments on commit 68df15c

Please sign in to comment.