summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
Diffstat (limited to 'generic')
-rw-r--r--generic/tkbltGrXAxisOp.C2
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/tkbltGrXAxisOp.C b/generic/tkbltGrXAxisOp.C
index b431a43..ac788ff 100644
--- a/generic/tkbltGrXAxisOp.C
+++ b/generic/tkbltGrXAxisOp.C
@@ -161,6 +161,7 @@ static int UseOp(ClientData clientData, Tcl_Interp* interp,
Axis* axisPtr = (Axis*)Chain_GetValue(link);
axisPtr->link = NULL;
axisPtr->use_ =0;
+ axisPtr->margin_ = MARGIN_NONE;
// Clear the axis type if it's not currently used
if (axisPtr->refCount_ == 0)
axisPtr->setClass(CID_NONE);
@@ -190,6 +191,7 @@ static int UseOp(ClientData clientData, Tcl_Interp* interp,
axisPtr->chain = chain;
axisPtr->use_ =1;
+ axisPtr->margin_ = margin;
}
graphPtr->flags |= RESET;