Martijn Laan před 11 měsíci
rodič
revize
74546834cd
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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;
 begin
   var SaveCurDir := GetCurrentDir;
-  if SetCurrentDir(DestDir) then
+  if not SetCurrentDir(DestDir) then
     Exit(-1);
   try
     LogBuffer := '';