diff options
Diffstat (limited to 'CPP/7zip/UI/Far/FarUtils.cpp')
-rwxr-xr-x | CPP/7zip/UI/Far/FarUtils.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/CPP/7zip/UI/Far/FarUtils.cpp b/CPP/7zip/UI/Far/FarUtils.cpp index b980d846..9f55e8e5 100755 --- a/CPP/7zip/UI/Far/FarUtils.cpp +++ b/CPP/7zip/UI/Far/FarUtils.cpp @@ -449,8 +449,7 @@ bool WasEscPressed() void ShowErrorMessage(DWORD errorCode) { - UString message; - NError::MyFormatMessage(errorCode, message); + UString message = NError::MyFormatMessageW(errorCode); message.Replace(L"\x0D", L""); message.Replace(L"\x0A", L" "); g_StartupInfo.ShowMessage(UnicodeStringToMultiByte(message, CP_OEMCP)); |