Skip to content

Commit

Permalink
QMiniz: Fix typo...
Browse files Browse the repository at this point in the history
I'm blown away by the fact that this worked at all... wtf. The only one who reported a problem here was windows but technically the file should never have been closed on any of them.

Frightening..
  • Loading branch information
MrStevns committed Nov 24, 2024
1 parent 8480697 commit 3447d67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core_lib/src/qminiz.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Status MiniZ::compressFolder(QString zipFilePath, QString srcFolderPath, const Q

mz_bool ok = mz_zip_writer_init_file(mz, zipFilePath.toUtf8().data(), 0);
ScopeGuard mzScopeGuard2([&] {
mz_zip_reader_end(mz);
mz_zip_writer_end(mz);
});

if (!ok)
Expand Down

0 comments on commit 3447d67

Please sign in to comment.