mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-11 14:49:23 +02:00
Fix build
This commit is contained in:
parent
d1b13a0fe4
commit
e7fbe2d387
@ -226,7 +226,7 @@ bool ZipArchive::extract(const boost::filesystem::path & where, const std::strin
|
||||
if (!destFile.good())
|
||||
{
|
||||
#ifdef VCMI_WINDOWS
|
||||
if (fullName.size() < MAX_PATH)
|
||||
if (fullName.size() < 260)
|
||||
logGlobal->error("Failed to open file '%s'", fullName.c_str());
|
||||
else
|
||||
logGlobal->error("Failed to open file with long path '%s' (%d characters)", fullName.c_str(), fullName.size());
|
||||
|
Loading…
x
Reference in New Issue
Block a user