| 108 | return true; |
| 109 | } |
| 110 | bool ZipDataProvider::finalizeSave() |
| 111 | { |
| 112 | if (writing) |
| 113 | { |
| 114 | if (!mz_zip_writer_finalize_archive(&archive)) |
| 115 | { |
| 116 | LogWarning("Failed to finalize archive \"%s\"", zipPath); |
| 117 | return false; |
| 118 | } |
| 119 | } |
| 120 | return true; |
| 121 | } |
| 122 | } // namespace OpenApoc |