mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Zip - crash on file replace with some .tar archives (fixes #1744)
This commit is contained in:
parent
661859913c
commit
752d3c9f23
1 changed files with 1 additions and 1 deletions
|
|
@ -716,7 +716,7 @@ begin
|
|||
{$ENDIF MSWINDOWS}
|
||||
{$IFDEF UNIX}
|
||||
{ UNIX absolute paths start with a slash }
|
||||
if (Value[1] = AbPathDelim) then
|
||||
if (Length(Value) > 0) and (Value[1] = AbPathDelim) then
|
||||
{$ENDIF UNIX}
|
||||
Result := ptAbsolute
|
||||
else if ( Pos( AbPathDelim, Value ) > 0 ) or ( Pos( AB_ZIPPATHDELIM, Value ) > 0 ) then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue