[Kst] kdeextragear-2/kst/kst

Rick Chern rchern at interchange.ubc.ca
Fri Jul 16 23:09:55 CEST 2004


CVS commit by rchern: 

Avoid duplicate markers


  M +1 -1      kst2dplot.cpp   1.155


--- kdeextragear-2/kst/kst/kst2dplot.cpp  #1.154:1.155
@@ -3499,5 +3499,5 @@ void Kst2DPlot::wheelEvent(QWidget *view
 bool Kst2DPlot::setPlotMarker(const double xValue) {
   QValueList<double>::iterator iter = _plotMarkers.begin();
-  while (iter != _plotMarkers.end() && (*iter) <= xValue) {
+  while (iter != _plotMarkers.end() && (*iter) < xValue) {
     iter++;
   }





More information about the Kst mailing list