error arg fix (Peter Dimov)

[SVN r16750]
This commit is contained in:
Beman Dawes
2003-01-04 15:18:10 +00:00
parent 3f64ac195b
commit 2ea74326bc

View File

@@ -58,7 +58,7 @@ namespace
FORMAT_MESSAGE_FROM_SYSTEM |
FORMAT_MESSAGE_IGNORE_INSERTS,
NULL,
::GetLastError(),
sys_err_code,
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), // Default language
(LPSTR) &lpMsgBuf,
0,