mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
@ -191,7 +191,7 @@ bool ZipArchive::extract(std::string from, std::string where, std::vector<std::s
|
||||
if (boost::algorithm::ends_with(file, "/"))
|
||||
continue;
|
||||
|
||||
std::ofstream destFile(fullName);
|
||||
std::ofstream destFile(fullName, std::ofstream::binary);
|
||||
if (!destFile.good())
|
||||
return false;
|
||||
|
||||
|
Reference in New Issue
Block a user