Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'CPP/7zip/UI/Agent/UpdateCallbackAgent.cpp')
-rw-r--r--[-rwxr-xr-x]CPP/7zip/UI/Agent/UpdateCallbackAgent.cpp15
1 files changed, 8 insertions, 7 deletions
diff --git a/CPP/7zip/UI/Agent/UpdateCallbackAgent.cpp b/CPP/7zip/UI/Agent/UpdateCallbackAgent.cpp
index 3687c3d0..cfdacb2f 100755..100644
--- a/CPP/7zip/UI/Agent/UpdateCallbackAgent.cpp
+++ b/CPP/7zip/UI/Agent/UpdateCallbackAgent.cpp
@@ -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;
}
}