summaryrefslogtreecommitdiffstats
path: root/generic/tkBind.c
diff options
context:
space:
mode:
authordonal.k.fellows@manchester.ac.uk <dkf>2012-07-30 09:08:25 (GMT)
committerdonal.k.fellows@manchester.ac.uk <dkf>2012-07-30 09:08:25 (GMT)
commit6bf54807590332f4ea52ede7a404f0a4cc70a9ec (patch)
tree031f1c2df728052af4573ff7ea91cadf69634adf /generic/tkBind.c
parent681f4133bc1ab9f99b6fb13d09774aaea60dfca6 (diff)
downloadtk-6bf54807590332f4ea52ede7a404f0a4cc70a9ec.zip
tk-6bf54807590332f4ea52ede7a404f0a4cc70a9ec.tar.gz
tk-6bf54807590332f4ea52ede7a404f0a4cc70a9ec.tar.bz2
more auditing of error codes
Diffstat (limited to 'generic/tkBind.c')
-rw-r--r--generic/tkBind.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tkBind.c b/generic/tkBind.c
index 974c1f9..4029571 100644
--- a/generic/tkBind.c
+++ b/generic/tkBind.c
@@ -3951,7 +3951,8 @@ ParseEventDescription(
if (patPtr->detail.keySym == NoSymbol) {
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
"bad event type or keysym \"%s\"", field));
- Tcl_SetErrorCode(interp, "TK", "LOOKUP", "KEYSYM", NULL);
+ Tcl_SetErrorCode(interp, "TK", "LOOKUP", "KEYSYM", field,
+ NULL);
count = 0;
goto done;
}