summaryrefslogtreecommitdiffstats
path: root/generic/tkBind.c
diff options
context:
space:
mode:
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;
}