summaryrefslogtreecommitdiffstats
path: root/libkdchart/KDChartAxesPainter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkdchart/KDChartAxesPainter.cpp')
-rw-r--r--libkdchart/KDChartAxesPainter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libkdchart/KDChartAxesPainter.cpp b/libkdchart/KDChartAxesPainter.cpp
index 5a169f0..a8a9c2a 100644
--- a/libkdchart/KDChartAxesPainter.cpp
+++ b/libkdchart/KDChartAxesPainter.cpp
@@ -2995,7 +2995,7 @@ void KDChartAxesPainter::calculateLabelTexts(
nHigh = log10( TQABS( nHigh ) );
//tqDebug("[L-0] nLow: %f, nHigh: %f", nLow, nHigh );
- double intPart=0.0; // initialization necessary for Borland C++
+ double intPart;
double fractPart = modf( nLow, &intPart );
//tqDebug(" intPart: %f\nfractPart: %f", intPart, fractPart );
if( 0.0 > nLow && 0.0 != fractPart )