summaryrefslogtreecommitdiffstats
path: root/src/bltGrElemBar.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/bltGrElemBar.C')
-rw-r--r--src/bltGrElemBar.C5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bltGrElemBar.C b/src/bltGrElemBar.C
index ef834f1..66ee436 100644
--- a/src/bltGrElemBar.C
+++ b/src/bltGrElemBar.C
@@ -295,7 +295,10 @@ void BarElement::map()
((BarGraph::BarMode)gops->barMode != BarGraph::INFRONT) &&
(!gops->stackAxes)) {
- BarSetKey key((float)x[ii], ops->xAxis, NULL);
+ BarSetKey key;
+ key.value =float(x[ii]);
+ key.xAxis =ops->xAxis;
+ key.yAxis =NULL;
Tcl_HashEntry *hPtr =
Tcl_FindHashEntry(&barGraphPtr_->setTable_, (char *)&key);