mingw32: Use LANG_ENGLISH for error message

pull/43/head release-1.16.1
Tatsuhiro Tsujikawa 2012-12-27 00:53:22 +09:00
parent 247084f9c3
commit f019eae5df
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ std::string errorMsg(int errNum)
FORMAT_MESSAGE_IGNORE_INSERTS,
NULL,
errNum,
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), // Default language
MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US),
(LPTSTR) &buf,
sizeof(buf),
NULL