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

George Staikos staikos at kde.org
Wed Nov 10 11:56:16 CET 2004


CVS commit by staikos: 

revertlast - bogus


  M +3 -3      planck.cpp   1.26.2.2


--- kdeextragear-2/kst/kst/datasources/planck/planck.cpp  #1.26.2.1:1.26.2.2
@@ -121,11 +121,11 @@ int PlanckSource::frameCount(const QStri
 
   if (field.isEmpty() || _fieldList.contains(field)) {
-    int minLen = 0;
+    int maxLen = 0;
     for (QStringList::ConstIterator i = _fieldList.begin(); i != _fieldList.end(); ++i) {
       assert(!(*i).isEmpty());
       QSize sz = _planckObject->range(*i);
-      minLen = QMIN(sz.height() - sz.width() + 1, minLen);
+      maxLen = QMAX(sz.height() - sz.width() + 1, maxLen);
     }
-    return minLen;
+    return maxLen;
   }
 





More information about the Kst mailing list