From 2eb9d043d3031dfedc9685916dfb842e65cdc141 Mon Sep 17 00:00:00 2001 From: anzz1 Date: Thu, 23 Mar 2023 14:20:44 +0200 Subject: [PATCH] fix comment Co-authored-by: Jed Fox --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index bb8a5748f..73f22c44c 100644 --- a/main.cpp +++ b/main.cpp @@ -174,7 +174,7 @@ void win32_console_init(void) { // Set console output codepage to 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)) { // Set console input codepage to UTF8 SetConsoleCP(65001); // CP_UTF8