summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Nienhüser <nienhueser@kde.org>2016-10-02 09:23:41 (GMT)
committerDennis Nienhüser <nienhueser@kde.org>2016-10-02 09:48:31 (GMT)
commit8e1d8e36da9e200328204c6b1c3dd25d1682c013 (patch)
tree8f42711f3af3245bf0f2c78f72348b7c21462008
parenta429adaf09016ae3bb6e294e465fda557338d1fd (diff)
Fix total number of tiles calculation
-rw-r--r--tools/vectorosm-tilecreator/TileIterator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/vectorosm-tilecreator/TileIterator.cpp b/tools/vectorosm-tilecreator/TileIterator.cpp
index 47f365b..d3b9900 100644
--- a/tools/vectorosm-tilecreator/TileIterator.cpp
+++ b/tools/vectorosm-tilecreator/TileIterator.cpp
@@ -78,7 +78,7 @@ int TileIterator::y() const
int TileIterator::total() const
{
- return (1+m_bounds.width()) * (1+m_bounds.height());
+ return m_bounds.width() * m_bounds.height();
}
TileIterator::TileIterator() :