diff options
author | dkf <dkf@noemail.net> | 2012-07-30 09:16:18 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2012-07-30 09:16:18 (GMT) |
commit | f13e064cb63e9f0f191027737a0828049522456f (patch) | |
tree | cd1c34c3bde890cd37b2dbe74d9234dd11ce7afb /generic/tkOption.c | |
parent | f6cd9146176b69fed2601313e2c7b30447b1aac4 (diff) | |
download | tk-f13e064cb63e9f0f191027737a0828049522456f.zip tk-f13e064cb63e9f0f191027737a0828049522456f.tar.gz tk-f13e064cb63e9f0f191027737a0828049522456f.tar.bz2 |
more reorganization of error codes: safety is common failure mode
FossilOrigin-Name: 5058af7c9a91e1d51c12121b7773b3ff31205a81
Diffstat (limited to 'generic/tkOption.c')
-rw-r--r-- | generic/tkOption.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkOption.c b/generic/tkOption.c index 24f7e39..ec9e465 100644 --- a/generic/tkOption.c +++ b/generic/tkOption.c @@ -1081,7 +1081,7 @@ ReadOptionFile( if (Tcl_IsSafe(interp)) { Tcl_SetObjResult(interp, Tcl_NewStringObj( "can't read options from a file in a safe interpreter", -1)); - Tcl_SetErrorCode(interp, "TK", "OPTIONDB", "SAFE", NULL); + Tcl_SetErrorCode(interp, "TK", "SAFE", "OPTION_FILE", NULL); return TCL_ERROR; } |