summaryrefslogtreecommitdiffstats
path: root/generic/tkBusy.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2012-07-30 09:08:25 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2012-07-30 09:08:25 (GMT)
commit40eb05f3d721d92449b771e1c7cfe1a252732a97 (patch)
tree031f1c2df728052af4573ff7ea91cadf69634adf /generic/tkBusy.c
parente64497a5bc67ff3b3f39e57700c650c6e7962eea (diff)
downloadtk-40eb05f3d721d92449b771e1c7cfe1a252732a97.zip
tk-40eb05f3d721d92449b771e1c7cfe1a252732a97.tar.gz
tk-40eb05f3d721d92449b771e1c7cfe1a252732a97.tar.bz2
more auditing of error codes
Diffstat (limited to 'generic/tkBusy.c')
-rw-r--r--generic/tkBusy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tkBusy.c b/generic/tkBusy.c
index 8fd53fa..8f73d80 100644
--- a/generic/tkBusy.c
+++ b/generic/tkBusy.c
@@ -689,7 +689,8 @@ GetBusy(
if (hPtr == NULL) {
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
"can't find busy window \"%s\"", Tcl_GetString(windowObj)));
- Tcl_SetErrorCode(interp, "TK", "LOOKUP", "BUSY", NULL);
+ Tcl_SetErrorCode(interp, "TK", "LOOKUP", "BUSY",
+ Tcl_GetString(windowObj), NULL);
return NULL;
}
return Tcl_GetHashValue(hPtr);