diff options
author | joye <joye> | 2014-04-08 16:15:39 (GMT) |
---|---|---|
committer | joye <joye> | 2014-04-08 16:15:39 (GMT) |
commit | 1eb9cd6cb6bdcaffea623bdb0ec342b7ecee08d1 (patch) | |
tree | 0bc0078fedea08301ef75bae40533d731130ca1e /src/bltGraph.C | |
parent | bf1312e796c13752ed41180aac1aa712b46e8a7b (diff) | |
download | blt-1eb9cd6cb6bdcaffea623bdb0ec342b7ecee08d1.zip blt-1eb9cd6cb6bdcaffea623bdb0ec342b7ecee08d1.tar.gz blt-1eb9cd6cb6bdcaffea623bdb0ec342b7ecee08d1.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'src/bltGraph.C')
-rw-r--r-- | src/bltGraph.C | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/bltGraph.C b/src/bltGraph.C index 4e4e79d..6b3c382 100644 --- a/src/bltGraph.C +++ b/src/bltGraph.C @@ -428,7 +428,8 @@ static int CgetOp(Graph* graphPtr, Tcl_Interp* interp, Tcl_WrongNumArgs(interp, 1, objv, "cget option"); return TCL_ERROR; } - Tcl_Obj* objPtr = Tk_GetOptionValue(interp, (char*)graphPtr, + Tcl_Obj* objPtr = Tk_GetOptionValue(interp, + (char*)graphPtr, graphPtr->optionTable, objv[2], graphPtr->tkwin); if (objPtr == NULL) @@ -442,7 +443,8 @@ static int ConfigureOp(Graph* graphPtr, Tcl_Interp* interp, int objc, Tcl_Obj* const objv[]) { if (objc <= 3) { - Tcl_Obj* objPtr = Tk_GetOptionInfo(interp, (char*)graphPtr, + Tcl_Obj* objPtr = Tk_GetOptionInfo(interp, + (char*)graphPtr, graphPtr->optionTable, (objc == 3) ? objv[2] : NULL, graphPtr->tkwin); |