[Kst] kdeextragear-2/kst/kst/datasources/planck

George Staikos staikos at kde.org
Fri Jan 21 01:36:55 CET 2005


CVS commit by staikos: 

memory error - might reintroduce an off-by-one bug but the previous fix was
definitely wrong in at least some cases.


  M +1 -1      planck.cpp   1.32


--- kdeextragear-2/kst/kst/datasources/planck/planck.cpp  #1.31:1.32
@@ -157,5 +157,5 @@ int PlanckSource::readField(double *v, c
   int i = 0;
   int rctmp = rc;
-  while (rctmp >= skip) {
+  while (rctmp > skip) {
     rctmp -= skip;
     v[i] = tmp[i * skip];




More information about the Kst mailing list