diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2012-07-30 09:08:25 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2012-07-30 09:08:25 (GMT) |
commit | 40eb05f3d721d92449b771e1c7cfe1a252732a97 (patch) | |
tree | 031f1c2df728052af4573ff7ea91cadf69634adf /generic/tkCanvUtil.c | |
parent | e64497a5bc67ff3b3f39e57700c650c6e7962eea (diff) | |
download | tk-40eb05f3d721d92449b771e1c7cfe1a252732a97.zip tk-40eb05f3d721d92449b771e1c7cfe1a252732a97.tar.gz tk-40eb05f3d721d92449b771e1c7cfe1a252732a97.tar.bz2 |
more auditing of error codes
Diffstat (limited to 'generic/tkCanvUtil.c')
-rw-r--r-- | generic/tkCanvUtil.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tkCanvUtil.c b/generic/tkCanvUtil.c index 120afd2..23c73e5 100644 --- a/generic/tkCanvUtil.c +++ b/generic/tkCanvUtil.c @@ -772,7 +772,8 @@ TkSmoothParseProc( if (smooth != NULL) { Tcl_SetObjResult(interp, Tcl_ObjPrintf( "ambiguous smooth method \"%s\"", value)); - Tcl_SetErrorCode(interp, "TK", "LOOKUP", "SMOOTH", NULL); + Tcl_SetErrorCode(interp, "TK", "LOOKUP", "SMOOTH", value, + NULL); return TCL_ERROR; } smooth = &methods->smooth; |