[Kst] extragear/graphics/kst/kst

Matthew D Truch matt at truch.net
Wed Nov 9 03:17:32 CET 2005


SVN commit 479063 by truch:

width + height / 400 != (width + height) / 400

BUG: 115966


 M  +1 -1      kstpoint.cpp  


--- trunk/extragear/graphics/kst/kst/kstpoint.cpp #479062:479063
@@ -152,7 +152,7 @@
 
 int KstPoint::dim(QPainter *p) const {
   QRect r = p->window();
-  return kMax(1, (r.width() + r.height() / 400));
+  return kMax(1, ((r.width() + r.height()) / 400));
 }
 
 // vim: ts=2 sw=2 et


More information about the Kst mailing list