[Kst] branches/kst/hfi_calib/kst/src/libkstapp

George Staikos staikos at kde.org
Thu Jun 22 17:35:51 CEST 2006


SVN commit 553946 by staikos:

initialize variables


 M  +2 -1      kst2dplot.cpp  


--- branches/kst/hfi_calib/kst/src/libkstapp/kst2dplot.cpp #553945:553946
@@ -1730,6 +1730,7 @@
 void Kst2DPlot::getPrefixUnitsScale(bool isInterpreted, KstAxisInterpretation axisInterpretation, KstAxisDisplay axisDisplay, bool bLog, double logBase, double Min, double Max, double& range, double& scale, int& base, QString& strPrefix, QString& strUnits) {
   range = 1.0;
   scale = 1.0;
+  base = 60;
 
   if (isInterpreted) {
     // determine the time range
@@ -1813,7 +1814,7 @@
   uint uiShortestLength = 1000;
   uint length;
   int iShort = 0;
-  int base;
+  int base = 60;
   KstPlotLabel *tick_label;
 
   if (isX) {


More information about the Kst mailing list