Replace some calls to fopen with File::OpenCFile (utf8).

This commit is contained in:
Henrik Rydgard committed 2016-01-17 15:59:20 +01:00
1 parent 27c71aa340
commit 3ba911bf07
8 files changed
+12 -14

No files matched your search

+1 -1
View File
@@ -236,7 +236,7 @@ bool GameManager::InstallGame(std::string zipfile, bool deleteAfter) {
}
zip_file *zf = zip_fopen_index(z, i, 0);
FILE *f = fopen(outFilename.c_str(), "wb");
FILE *f = File::OpenCFile(outFilename.c_str(), "wb");
if (f) {
size_t pos = 0;
const size_t blockSize = 1024 * 128;