[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Mon Feb 23 07:07:02 CET 2004


CVS commit by staikos: 

Wow that was a dumb bug :)


  M +1 -1      kstiface_impl.cpp   1.16


--- kdeextragear-2/kst/kst/kstiface_impl.cpp  #1.15:1.16
@@ -365,5 +365,5 @@ double KstIfaceImpl::vector(const QStrin
   double rc = 0.0;
 
-  if (it != KST::vectorList.end() && rc >= 0 && rc < (*it)->length()) {
+  if (it != KST::vectorList.end() && index >= 0 && index < (*it)->length()) {
     rc = (*it)->value(index);
   }





More information about the Kst mailing list