Skip to content

Commit

Permalink
Fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnlaan committed Oct 5, 2024
1 parent bee7be3 commit 7454683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Projects/Src/Compression.SevenZipDecoder.pas
Original file line number Diff line number Diff line change
Expand Up @@ -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 := '';
Expand Down

0 comments on commit 7454683

Please sign in to comment.