Skip to content

Commit

Permalink
fixed previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud Bouchez committed May 9, 2023
1 parent e851914 commit 157531b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/mormot.lib.win7zip.pas
Expand Up @@ -2647,8 +2647,8 @@ procedure T7zWriter.SaveToFile(const DestName: TFileName);
f: TFileStreamEx;
existing: boolean;
begin
fFileName := DestName;
existing := (fUpdateReader <> nil) and (fFileName = DestName);
fFileName := DestName;
f := TFileStreamEx.Create(DestName, fmCreateOrRewrite[existing]);
try
SaveToStream(f);
Expand Down
2 changes: 1 addition & 1 deletion src/mormot.commit.inc
@@ -1 +1 @@
'2.1.5428'
'2.1.5429'

0 comments on commit 157531b

Please sign in to comment.