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

List:       kde-commits
Subject:    kdelibs/kstyles/keramik
From:       Maks Orlovich <maksim () kde ! org>
Date:       2004-03-20 18:21:58
Message-ID: 20040320182158.58A11999A () office ! kde ! org
[Download RAW message or body]

CVS commit by orlovich: 

Workaround for an apparent bug in the vendor compiler on Tru64/Alpha. 
Thanks to "The Written Word" (bugzilla-kde at the host thewrittenword with tld com) \
for helping figure out what was going wrong and the precise workaround.
CCMAIL:76744@bugs.kde.org


  M +6 -3      pixmaploader.cpp   1.41


--- kdelibs/kstyles/keramik/pixmaploader.cpp  #1.40:1.41
@@ -367,5 +367,8 @@ void TilePainter::draw( QPainter *p, int
                 //Redistribute any "extra" pixels to the last scaleable row.
                 if ( scaledRows && row == lastScaledRow )
-                        h += scaleHeight - scaleHeight / scaledRows * scaledRows;
+                {
+                        int allocatedEvenly = scaleHeight / scaledRows * scaledRows;
+                        h += scaleHeight - allocatedEvenly;
+                }
 
 
@@ -590,3 +593,3 @@ int SpinBoxPainter::tileName( unsigned i
 
 // vim: ts=4 sw=4 noet
-// kate: indent-width 4; replace-tabs off; tab-width 4;
+// kate: indent-width 4; replace-tabs off; tab-width 4; space-indent off;


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

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