mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-10 20:07:05 -06:00
4.60 beta
This commit is contained in:
committed by
Kornel Lesiński
parent
173c07e166
commit
c10e6b16f6
@@ -98,7 +98,7 @@ UString CProxyFolder::GetFullPathPrefix() const
|
||||
const CProxyFolder *current = this;
|
||||
while (current->Parent != NULL)
|
||||
{
|
||||
result = current->Name + UString(L'\\') + result;
|
||||
result = current->Name + UString(WCHAR_PATH_SEPARATOR) + result;
|
||||
current = current->Parent;
|
||||
}
|
||||
return result;
|
||||
@@ -252,7 +252,7 @@ HRESULT CProxyArchive::ReadObjects(IInArchive *archive, IProgress *progress)
|
||||
for (int i = 0; i < len; i++)
|
||||
{
|
||||
wchar_t c = filePath[i];
|
||||
if (c == '\\' || c == '/')
|
||||
if (c == WCHAR_PATH_SEPARATOR || c == L'/')
|
||||
{
|
||||
currentItem = currentItem->AddDirSubItem((UInt32)(Int32)-1, false, fileName);
|
||||
fileName.Empty();
|
||||
|
||||
Reference in New Issue
Block a user