diff options
author | joye <joye> | 2014-04-23 20:05:14 (GMT) |
---|---|---|
committer | joye <joye> | 2014-04-23 20:05:14 (GMT) |
commit | 2bd1ae5bb594610acf9cb8536e522fe1d1d2a23a (patch) | |
tree | df2214d6ad5b030f64310f1a8190288831c01a40 /src/bltGrXAxisOp.C | |
parent | 6e381380d14d3ee0fbc4caecc53442f49cb5e101 (diff) | |
download | blt-2bd1ae5bb594610acf9cb8536e522fe1d1d2a23a.zip blt-2bd1ae5bb594610acf9cb8536e522fe1d1d2a23a.tar.gz blt-2bd1ae5bb594610acf9cb8536e522fe1d1d2a23a.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'src/bltGrXAxisOp.C')
-rw-r--r-- | src/bltGrXAxisOp.C | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bltGrXAxisOp.C b/src/bltGrXAxisOp.C index 0a2090f..d9366d3 100644 --- a/src/bltGrXAxisOp.C +++ b/src/bltGrXAxisOp.C @@ -54,7 +54,8 @@ static Axis* GetAxisFromCmd(ClientData clientData, Tcl_Obj* obj) else return NULL; - return Blt_GetFirstAxis(ops->margins[margin].axes); + Blt_ChainLink link = Blt_Chain_FirstLink(ops->margins[margin].axes); + return (Axis*)Blt_Chain_GetValue(link); } static int CgetOp(ClientData clientData, Tcl_Interp* interp, |