[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/krita/core/tiles
From:       Casper Boemann <cbr () boemann ! dk>
Date:       2005-08-09 18:46:57
Message-ID: 1123613217.750684.15563.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 444326 by boemann:

small bug fixed. thanks bcoppens


 M  +2 -0      kis_tiledrectiterator.cc  


--- trunk/koffice/krita/core/tiles/kis_tiledrectiterator.cc #444325:444326
@@ -144,6 +144,8 @@
 			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;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic