[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Tue Feb 8 01:54:02 CET 2005


CVS commit by staikos: 

seems to fix Skip alignment errors?  Please reopen with a new testcase if there
are still problems
BUG: 98515


  M +1 -1      kstrvector.cpp   1.79


--- kdeextragear-2/kst/kst/kstrvector.cpp  #1.78:1.79
@@ -468,5 +468,5 @@ KstObject::UpdateType KstRVector::doUpda
     // new_f0 == 0 results in (new_f0 - 1)/Skip being -0.x which rounds the
     // wrong way on us.  Therefore new_f0 == 0 is a special case.
-    new_f0 = new_f0 == 0 ? 0 : (((new_f0 - 1)/Skip) + 1) * Skip - 1;
+    new_f0 = new_f0 == 0 ? 0 : (((new_f0 - 1)/Skip) + 1) * Skip;
     new_nf = tmp_fn - new_f0 + 1;
   }




More information about the Kst mailing list