diff options
author | Elliott Hughes <enh@google.com> | 2023-02-14 01:00:39 +0000 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2023-02-14 01:00:39 +0000 |
commit | 0d3c9641352f8b2603beeac80181d360aff831d0 (patch) | |
tree | 8305206a5180cb2d975106c760cf55b3f4689053 /CPP/Windows/Shell.cpp | |
parent | acfb0b80b751899760deb8c14730652a0a6f0fb1 (diff) | |
download | lzma-0d3c9641352f8b2603beeac80181d360aff831d0.tar.gz |
Update LZMA SDK to 19.00.
Downloaded from https://www.7-zip.org/sdk.html.
Test: builds
Change-Id: Ic946b05f119a539c18bdfcff7b6112c03f4ec3e3
Diffstat (limited to 'CPP/Windows/Shell.cpp')
-rw-r--r-- | CPP/Windows/Shell.cpp | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/CPP/Windows/Shell.cpp b/CPP/Windows/Shell.cpp index fde29ac..7ba82d4 100644 --- a/CPP/Windows/Shell.cpp +++ b/CPP/Windows/Shell.cpp @@ -2,6 +2,11 @@ #include "StdAfx.h"
+/*
+#include <stdio.h>
+#include <string.h>
+*/
+
#include "../Common/MyCom.h"
#ifndef _UNICODE
#include "../Common/StringConvert.h"
@@ -114,9 +119,22 @@ UString CDrop::QueryFileName(UINT fileIndex) void CDrop::QueryFileNames(UStringVector &fileNames)
{
UINT numFiles = QueryCountOfFiles();
+ /*
+ char s[100];
+ sprintf(s, "QueryFileNames: %d files", numFiles);
+ OutputDebugStringA(s);
+ */
fileNames.ClearAndReserve(numFiles);
for (UINT i = 0; i < numFiles; i++)
- fileNames.AddInReserved(QueryFileName(i));
+ {
+ const UString s2 = QueryFileName(i);
+ if (!s2.IsEmpty())
+ fileNames.AddInReserved(s2);
+ /*
+ OutputDebugStringW(L"file ---");
+ OutputDebugStringW(s2);
+ */
+ }
}
|