Commit 8e1d8e36 authored by Dennis Nienhüser's avatar Dennis Nienhüser
Browse files

Fix total number of tiles calculation

parent a429adaf
......@@ -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() :
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment