mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-12 18:11:35 -06:00
22.00
This commit is contained in:
9
CPP/7zip/Archive/Wim/WimIn.cpp
Normal file → Executable file
9
CPP/7zip/Archive/Wim/WimIn.cpp
Normal file → Executable file
@@ -567,9 +567,12 @@ void CDatabase::GetItemPath(unsigned index1, bool showImageNumber, NWindows::NCO
|
||||
for (unsigned i = 0; i < len; i++)
|
||||
{
|
||||
wchar_t c = Get16(meta + i * 2);
|
||||
// 18.06
|
||||
if (c == CHAR_PATH_SEPARATOR || c == '/')
|
||||
c = '_';
|
||||
if (c == L'/')
|
||||
c = L'_';
|
||||
#if WCHAR_PATH_SEPARATOR != L'/'
|
||||
else if (c == L'\\')
|
||||
c = WCHAR_IN_FILE_NAME_BACKSLASH_REPLACEMENT; // 22.00 : WSL scheme
|
||||
#endif
|
||||
dest[i] = c;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user