Fixed empty zip test.

This commit is contained in:
Nathan Moinvaziri 2018-08-13 23:48:40 -07:00
parent cfa2e604f6
commit de09ac796f

View File

@ -516,11 +516,11 @@ int32_t mz_zip_reader_save_all(void *handle, const char *destination_dir)
if (err == MZ_OK)
err = mz_zip_reader_goto_next(handle);
if (err == MZ_END_OF_LIST)
return MZ_OK;
}
if (err == MZ_END_OF_LIST)
return MZ_OK;
return err;
}