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

George Staikos staikos at kde.org
Mon Jan 17 10:15:16 CET 2005


CVS commit by staikos: 

off-by-one


  M +1 -1      planck.cpp   1.30


--- kdeextragear-2/kst/kst/datasources/planck/planck.cpp  #1.29:1.30
@@ -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