summaryrefslogtreecommitdiff
path: root/src/resources/mapreader.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-20 16:39:35 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-20 16:39:35 +0300
commit9753cdbb33468148e1f690d67cb631d661e62027 (patch)
tree96c073cc948e9d8483676171a2fe1cb274fed0a4 /src/resources/mapreader.cpp
parentab9405f511303d490a8f966d1c1abe7f94bf0633 (diff)
downloadplus-9753cdbb33468148e1f690d67cb631d661e62027.tar.gz
plus-9753cdbb33468148e1f690d67cb631d661e62027.tar.bz2
plus-9753cdbb33468148e1f690d67cb631d661e62027.tar.xz
plus-9753cdbb33468148e1f690d67cb631d661e62027.zip
fix style in resources directory.
Diffstat (limited to 'src/resources/mapreader.cpp')
-rw-r--r--src/resources/mapreader.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/resources/mapreader.cpp b/src/resources/mapreader.cpp
index 567ea0673..75238e828 100644
--- a/src/resources/mapreader.cpp
+++ b/src/resources/mapreader.cpp
@@ -572,7 +572,6 @@ bool MapReader::readBase64Layer(const XmlNodePtr childNode, Map *const map,
bool MapReader::readCsvLayer(const XmlNodePtr childNode, Map *const map,
MapLayer *const layer,
- const std::string &compression,
int &x, int &y, const int w, const int h)
{
XmlNodePtr dataChild = childNode->xmlChildrenNode;
@@ -682,7 +681,7 @@ void MapReader::readLayer(const XmlNodePtr node, Map *const map)
}
else if (encoding == "csv")
{
- if (readCsvLayer(childNode, map, layer, compression, x, y, w, h))
+ if (readCsvLayer(childNode, map, layer, x, y, w, h))
continue;
else
return;