Commit 78080c8a authored by Casper Boemann's avatar Casper Boemann

small bug fixed. thanks bcoppens

svn path=/trunk/koffice/; revision=444326
parent d2771128
......@@ -144,6 +144,8 @@ KisTiledRectIterator & KisTiledRectIterator::operator+=(int n)
return *this;
m_yInTile = m_topInTile;
m_xInTile = m_leftInTile;
remainInTile= (m_bottomInTile - m_yInTile) * (m_rightInTile - m_leftInTile + 1);
remainInTile += m_rightInTile - m_xInTile + 1;
}
int lWidth = m_rightInTile - m_leftInTile + 1;
......
Markdown is supported
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