|  | @@ -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());
 |