summaryrefslogtreecommitdiff
path: root/src/resources/mapreader.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-01-16 05:45:52 +0300
committerAndrei Karas <akaras@inbox.ru>2018-01-16 05:45:52 +0300
commit5c4c66c0873e2b21d87929ab7e3389883c4ee074 (patch)
tree1c14043c6b4d6089e0f15006f902b4ef8697be26 /src/resources/mapreader.cpp
parent43abb22c0626529c8465f25bd62b813898abe840 (diff)
downloadmv-5c4c66c0873e2b21d87929ab7e3389883c4ee074.tar.gz
mv-5c4c66c0873e2b21d87929ab7e3389883c4ee074.tar.bz2
mv-5c4c66c0873e2b21d87929ab7e3389883c4ee074.tar.xz
mv-5c4c66c0873e2b21d87929ab7e3389883c4ee074.zip
Fix code style.
Diffstat (limited to 'src/resources/mapreader.cpp')
-rw-r--r--src/resources/mapreader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/mapreader.cpp b/src/resources/mapreader.cpp
index e4f603779..e5e7374fe 100644
--- a/src/resources/mapreader.cpp
+++ b/src/resources/mapreader.cpp
@@ -189,7 +189,7 @@ PRAGMACLANG6GCC(GCC diagnostic pop)
outLength = bufferSize - strm.avail_out;
(void) inflateEnd(&strm);
- return ret == Z_STREAM_END ? Z_OK : Z_DATA_ERROR;
+ return Z_OK;
}
int inflateMemory(unsigned char *restrict const in,