Commit e871af1c authored by ussrhero's avatar ussrhero

fixed dia exception description for cyrilic locale

parent f2f953e0
......@@ -135,7 +135,7 @@ std::wstring DiaException::makeFullDesc(const std::wstring &desc, HRESULT hres,
FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM,
NULL,
hres,
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
LOCALE_INVARIANT, //MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
(PWCHAR)&errMessage,
0,
NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment