From 4598aa8ab5eb304fc33307b19b59f3cb65c652eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Pazdiora?= Date: Fri, 7 Apr 2023 23:49:23 +0200 Subject: [PATCH] cleanup --- examples/common.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/examples/common.cpp b/examples/common.cpp index 1f2327e32..b27aa6cf1 100644 --- a/examples/common.cpp +++ b/examples/common.cpp @@ -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 } }