Ver Fonte

ExpandedDestDir needs trailing backslash.

Jordan Russell há 1 ano atrás
pai
commit
31a7a16cdf
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      Projects/Src/Compression.SevenZipDecoder.pas

+ 1 - 1
Projects/Src/Compression.SevenZipDecoder.pas

@@ -227,7 +227,7 @@ begin
     Exit(-1);
   try
     LogBuffer := '';
-    ExpandedDestDir := PathExpand(DestDir);
+    ExpandedDestDir := AddBackslash(PathExpand(DestDir));
     Result := IS_7zDec(PChar(FileName), FullPaths);
     if LogBuffer <> '' then
       Log(LogBuffer);