From: ptv Date: Wed, 29 Oct 2008 13:31:20 +0000 (+0000) Subject: compilation on Windows X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5628406d3bce9e59f1d7ac81d1cc6690994e3aa4;p=modules%2Fgui.git compilation on Windows --- diff --git a/src/Plot2d/Plot2d_ViewFrame.cxx b/src/Plot2d/Plot2d_ViewFrame.cxx index 4da72ad58..7db619b26 100755 --- a/src/Plot2d/Plot2d_ViewFrame.cxx +++ b/src/Plot2d/Plot2d_ViewFrame.cxx @@ -1037,7 +1037,8 @@ void Plot2d_ViewFrame::onCurvesSettings() QList< Plot2d_Curve* > aCurves; CurveDict::iterator it = myPlot->getCurves().begin(); - for ( int i = 0; it != myPlot->getCurves().end(); it++, i++ ) + int i = 0; + for ( i = 0; it != myPlot->getCurves().end(); it++, i++ ) { Plot2d_Curve* aCurve = it.value(); if ( !aCurve )