summaryrefslogtreecommitdiffstats
path: root/libkdchart/KDChartParams.h
diff options
context:
space:
mode:
Diffstat (limited to 'libkdchart/KDChartParams.h')
-rw-r--r--libkdchart/KDChartParams.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libkdchart/KDChartParams.h b/libkdchart/KDChartParams.h
index 0994e19..9e4a0db 100644
--- a/libkdchart/KDChartParams.h
+++ b/libkdchart/KDChartParams.h
@@ -702,7 +702,7 @@ public slots:
static int roundVal( double d )
{
double fr;
- double i=0.0; // initialization necessary for Borland C++
+ double i;
fr = modf( d, &i );
int ret = static_cast < int > ( i );
if( 0.49999 <= fabs( fr ) )