fix comment
Co-authored-by: Jed Fox <git@jedfox.com>
This commit is contained in:
parent
f2df89685f
commit
2eb9d043d3
1 changed files with 1 additions and 1 deletions
2
main.cpp
2
main.cpp
|
@ -174,7 +174,7 @@ void win32_console_init(void) {
|
||||||
// Set console output codepage to UTF8
|
// Set console output codepage to UTF8
|
||||||
SetConsoleOutputCP(65001); // CP_UTF8
|
SetConsoleOutputCP(65001); // CP_UTF8
|
||||||
}
|
}
|
||||||
void* hConIn = GetStdHandle((unsigned long)-10); // STD_INPUT_HANDLE (-11)
|
void* hConIn = GetStdHandle((unsigned long)-10); // STD_INPUT_HANDLE (-10)
|
||||||
if (hConIn && hConIn != (void*)-1 && GetConsoleMode(hConIn, &dwMode)) {
|
if (hConIn && hConIn != (void*)-1 && GetConsoleMode(hConIn, &dwMode)) {
|
||||||
// Set console input codepage to UTF8
|
// Set console input codepage to UTF8
|
||||||
SetConsoleCP(65001); // CP_UTF8
|
SetConsoleCP(65001); // CP_UTF8
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue