diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-02-19 19:49:11 +0100 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-02-19 19:49:11 +0100 |
commit | 42a0d79ebbcd8e583ded8ad4613df1d3ed21cfc5 (patch) | |
tree | 90e61380dbfe4291684eb93ec9bb085d2f36932c | |
parent | 85bf2ed70685a29b6a47279deeb61905c6d375b0 (diff) | |
download | mana-42a0d79ebbcd8e583ded8ad4613df1d3ed21cfc5.tar.gz mana-42a0d79ebbcd8e583ded8ad4613df1d3ed21cfc5.tar.bz2 mana-42a0d79ebbcd8e583ded8ad4613df1d3ed21cfc5.tar.xz mana-42a0d79ebbcd8e583ded8ad4613df1d3ed21cfc5.zip |
Minor code formatting and fixed a comment.
Trivial fix.
-rw-r--r-- | src/resources/mapreader.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/resources/mapreader.cpp b/src/resources/mapreader.cpp index 6c06ec50..c866c680 100644 --- a/src/resources/mapreader.cpp +++ b/src/resources/mapreader.cpp @@ -277,9 +277,11 @@ void MapReader::readLayer(xmlNodePtr node, Map *map) if (encoding == "base64") { - if (!compression.empty() && compression != "gzip" && compression != "zlib") + if (!compression.empty() && compression != "gzip" + && compression != "zlib") { - logger->log("Warning: only gzip layer compression supported!"); + logger->log("Warning: only gzip or zlib layer " + "compression supported!"); return; } |