This commit is contained in:
Igor Pavlov
2014-11-23 00:00:00 +00:00
committed by Kornel Lesiński
parent 83f8ddcc5b
commit f08f4dcc3c
1158 changed files with 76451 additions and 35082 deletions

15
CPP/7zip/UI/Agent/UpdateCallbackAgent.cpp Executable file → Normal file
View File

@@ -2,8 +2,9 @@
#include "StdAfx.h"
#include "Windows/Error.h"
#include "Common/IntToString.h"
#include "../../../Common/IntToString.h"
#include "../../../Windows/ErrorMsg.h"
#include "UpdateCallbackAgent.h"
@@ -62,11 +63,11 @@ HRESULT CUpdateCallbackAgent::OpenFileError(const wchar_t *name, DWORD systemErr
{
if (Callback)
{
RINOK(Callback->UpdateErrorMessage(
UString(L"WARNING: ") +
NError::MyFormatMessageW(systemError) +
UString(L": ") +
name));
UString s = L"WARNING: ";
s += NError::MyFormatMessage(systemError);
s += L": ";
s += name;
RINOK(Callback->UpdateErrorMessage(s));
return S_FALSE;
}
}