summaryrefslogtreecommitdiffstats
path: root/generic/tkbltGraphBar.C
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkbltGraphBar.C')
-rw-r--r--generic/tkbltGraphBar.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkbltGraphBar.C b/generic/tkbltGraphBar.C
index dc8664c..6223270 100644
--- a/generic/tkbltGraphBar.C
+++ b/generic/tkbltGraphBar.C
@@ -239,8 +239,8 @@ int BarGraph::configure()
{
BarGraphOptions* ops = (BarGraphOptions*)ops_;
// Don't allow negative bar widths. Reset to an arbitrary value (0.1)
- if (ops->barWidth <= 0.0f)
- ops->barWidth = 0.9f;
+ if (ops->barWidth <= 0.0)
+ ops->barWidth = 0.9;
return Graph::configure();
}