summaryrefslogtreecommitdiffstats
path: root/src/bltGraph.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/bltGraph.C')
-rw-r--r--src/bltGraph.C6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/bltGraph.C b/src/bltGraph.C
index a02a818..50d42e1 100644
--- a/src/bltGraph.C
+++ b/src/bltGraph.C
@@ -301,9 +301,11 @@ static int NewGraph(ClientData clientData, Tcl_Interp*interp,
goto error;
if (Blt_CreateLegend(graphPtr) != TCL_OK)
goto error;
- if (Blt_CreatePen(graphPtr, "activeLine", CID_ELEM_LINE, 0, NULL) == NULL)
+ if (Blt_CreatePen(graphPtr, interp, "activeLine", CID_ELEM_LINE, 0, NULL) !=
+ TCL_OK)
goto error;
- if (Blt_CreatePen(graphPtr, "activeBar", CID_ELEM_BAR, 0, NULL) == NULL)
+ if (Blt_CreatePen(graphPtr, interp, "activeBar", CID_ELEM_BAR, 0, NULL) !=
+ TCL_OK)
goto error;
if (Blt_CreatePageSetup(graphPtr) != TCL_OK)