Martijn Laan hai 11 meses
pai
achega
74546834cd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Projects/Src/Compression.SevenZipDecoder.pas

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

@@ -195,7 +195,7 @@ function SevenZipDecode(const FileName, DestDir: String;
   const FullPaths: Boolean): Integer;
   const FullPaths: Boolean): Integer;
 begin
 begin
   var SaveCurDir := GetCurrentDir;
   var SaveCurDir := GetCurrentDir;
-  if SetCurrentDir(DestDir) then
+  if not SetCurrentDir(DestDir) then
     Exit(-1);
     Exit(-1);
   try
   try
     LogBuffer := '';
     LogBuffer := '';