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 '7zip/UI/Console/UpdateCallbackConsole.cpp')
-rwxr-xr-x7zip/UI/Console/UpdateCallbackConsole.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/7zip/UI/Console/UpdateCallbackConsole.cpp b/7zip/UI/Console/UpdateCallbackConsole.cpp
index 30a5285f..74b685d7 100755
--- a/7zip/UI/Console/UpdateCallbackConsole.cpp
+++ b/7zip/UI/Console/UpdateCallbackConsole.cpp
@@ -11,6 +11,8 @@
using namespace NWindows;
+static const wchar_t *kEmptyFileAlias = L"[Content]";
+
static const char *kCreatingArchiveMessage = "Creating archive ";
static const char *kUpdatingArchiveMessage = "Updating archive ";
static const char *kScanningMessage = "Scanning";
@@ -129,6 +131,8 @@ HRESULT CUpdateCallbackConsole::GetStream(const wchar_t *name, bool isAnti)
m_PercentPrinter.PrintString("Anti item ");
else
m_PercentPrinter.PrintString("Compressing ");
+ if (wcslen(name) == 0)
+ name = kEmptyFileAlias;
m_PercentPrinter.PrintString(name);
if (EnablePercents)
{