mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Bug [0001483] Ghost folders on 7z archives viewed with 7zFM
This commit is contained in:
parent
cd0b4a39f2
commit
91a3473e83
1 changed files with 1 additions and 1 deletions
|
|
@ -356,7 +356,7 @@ begin
|
|||
FileName := WideString(AddList);
|
||||
FileNameUTF8:= Utf16ToUtf8(WideString(SrcPath + FileName));
|
||||
if FileName[Length(FileName)] = PathDelim then
|
||||
Archive.AddDirectory(FilePath + FileName, FileNameUTF8)
|
||||
Archive.AddDirectory(FilePath + Copy(FileName, 1, Length(FileName) - 1), FileNameUTF8)
|
||||
else
|
||||
Archive.AddFile(FilePath + FileName, FileNameUTF8);
|
||||
if (AddList + Length(FileName) + 1)^ = #0 then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue