From 00d1812e8dce5e05252cdb0df49b54b0a2613216 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Thu, 26 Mar 2026 22:53:28 +0800 Subject: [PATCH] Debug (Windows): let OS choose language to print --- src/common/impl/debug_windows.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/impl/debug_windows.c b/src/common/impl/debug_windows.c index 865193bad..8bcb1de8a 100644 --- a/src/common/impl/debug_windows.c +++ b/src/common/impl/debug_windows.c @@ -10,7 +10,7 @@ const char* ffDebugWin32Error(DWORD errorCode) FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, NULL, (DWORD) errorCode, - MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), + 0, buffer, sizeof(buffer), NULL);