Martijn Laan il y a 11 mois
Parent
commit
74546834cd
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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 := '';