Explorar el Código

mingw32: Use LANG_ENGLISH for error message

Tatsuhiro Tsujikawa hace 12 años
padre
commit
f019eae5df
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/SocketCore.cc

+ 1 - 1
src/SocketCore.cc

@@ -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