Skip to content

Commit 68df15c

Browse files
aroidzappato-melowntech
authored andcommitted
cleanup
1 parent f759dc4 commit 68df15c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

examples/common.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -318,13 +318,8 @@ void win32_console_init(bool enable_color) {
318318
}
319319
void* hConIn = GetStdHandle((unsigned long)-10); // STD_INPUT_HANDLE (-10)
320320
if (hConIn && hConIn != (void*)-1 && GetConsoleMode(hConIn, &dwMode)) {
321-
#if 0
322-
// Set console input codepage to UTF8
323-
SetConsoleCP(CP_UTF8);
324-
#else
325321
// Set console input codepage to UTF16
326322
_setmode(_fileno(stdin), _O_WTEXT);
327-
#endif
328323
}
329324
}
330325

0 commit comments

Comments
 (0)