Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/WolfireGames/overgrowth.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Internal/zip_util.cpp')
-rw-r--r--Source/Internal/zip_util.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Internal/zip_util.cpp b/Source/Internal/zip_util.cpp
index 4b4623c3..a4722931 100644
--- a/Source/Internal/zip_util.cpp
+++ b/Source/Internal/zip_util.cpp
@@ -416,7 +416,7 @@ void UnZipFile::ExtractAll(ExpandedZipFile& expanded_zip_file) {
unsigned entry_id = 0;
unsigned data_offset = 0;
unsigned filename_offset = 0;
- ScopedBuffer scoped_buf(size_buf); // Raw malloc temp data scoped to be less dangerous
+ ScopedBuffer scoped_buf(size_buf); // Raw malloc temp data scoped to be less dangerous
err = unzGoToFirstFile(uf);
if (err != UNZ_OK) {
@@ -458,7 +458,7 @@ void UnZipFile::ExtractAll(ExpandedZipFile& expanded_zip_file) {
char zero = '\0';
expanded_zip_file.SetData(data_offset, &zero, 1);
++data_offset;
-
+
err = unzCloseCurrentFile(uf);
if (err != UNZ_OK) {
FatalError("Unzip Error", "Unable to close current file (Error Code: %d)", err);