diff options
author | dkf <dkf@noemail.net> | 2012-07-24 08:33:36 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2012-07-24 08:33:36 (GMT) |
commit | d16c1591b4da26169cf762f7a5421a65a78b9a87 (patch) | |
tree | 9e1dfba4bbd2afe24d34c1416d837895e35f818a /generic/ttk/ttkFrame.c | |
parent | db0b8cc05b59328e7eacfb833b975f732be99327 (diff) | |
download | tk-d16c1591b4da26169cf762f7a5421a65a78b9a87.zip tk-d16c1591b4da26169cf762f7a5421a65a78b9a87.tar.gz tk-d16c1591b4da26169cf762f7a5421a65a78b9a87.tar.bz2 |
Ttk and Aqua done
FossilOrigin-Name: 8a123a49c24108efb1acca6d7100c1cb391a895b
Diffstat (limited to 'generic/ttk/ttkFrame.c')
-rw-r--r-- | generic/ttk/ttkFrame.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/generic/ttk/ttkFrame.c b/generic/ttk/ttkFrame.c index 7860024..3e50a7f 100644 --- a/generic/ttk/ttkFrame.c +++ b/generic/ttk/ttkFrame.c @@ -206,10 +206,9 @@ int TtkGetLabelAnchorFromObj( error: if (interp) { - Tcl_ResetResult(interp); - Tcl_AppendResult(interp, - "Bad label anchor specification ", Tcl_GetString(objPtr), - NULL); + Tcl_SetObjResult(interp, Tcl_ObjPrintf( + "Bad label anchor specification %s", Tcl_GetString(objPtr))); + Tcl_SetErrorCode(interp, "TTK", "LABEL", "ANCHOR", NULL); } return TCL_ERROR; } |