Debug (Windows): let OS choose language to print

This commit is contained in:
李通洲
2026-03-26 22:53:28 +08:00
parent 50dc260fd6
commit 00d1812e8d
+1 -1
View File
@@ -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);