GH-1227 fix zlib nonsense on Windows

This commit is contained in:
Petr Mrázek
2015-09-10 00:02:02 +02:00
parent a1fd50e920
commit db5816b0a2
4 changed files with 4 additions and 8 deletions

View File

@ -175,7 +175,7 @@ static int64_t read_long (nbt::value& parent, const char * name, const int64_t &
void World::parseLevelDat(QByteArray data)
{
QByteArray output;
is_valid = GZip::inflate(data, output);
is_valid = GZip::decompress(data, output);
if(!is_valid)
{
return;