summaryrefslogtreecommitdiffstats
path: root/generic/tkPack.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/tkPack.c
parent681f4133bc1ab9f99b6fb13d09774aaea60dfca6 (diff)
downloadtk-6bf54807590332f4ea52ede7a404f0a4cc70a9ec.zip
tk-6bf54807590332f4ea52ede7a404f0a4cc70a9ec.tar.gz
tk-6bf54807590332f4ea52ede7a404f0a4cc70a9ec.tar.bz2
more auditing of error codes
Diffstat (limited to 'generic/tkPack.c')
-rw-r--r--generic/tkPack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkPack.c b/generic/tkPack.c
index c600f34..d91fda7 100644
--- a/generic/tkPack.c
+++ b/generic/tkPack.c
@@ -301,7 +301,7 @@ Tk_PackObjCmd(
if (argv2[0] != '.') {
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
"bad argument \"%s\": must be name of window", argv2));
- Tcl_SetErrorCode(interp, "TK", "VALUE", "WINDOW", NULL);
+ Tcl_SetErrorCode(interp, "TK", "VALUE", "WINDOW_PATH", NULL);
return TCL_ERROR;
}
return ConfigureSlaves(interp, tkwin, objc-2, objv+2);