diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2012-07-30 09:16:18 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2012-07-30 09:16:18 (GMT) |
commit | d4a4017589dd52fa8e9667df9d754fd62abd6bed (patch) | |
tree | cd1c34c3bde890cd37b2dbe74d9234dd11ce7afb /unix | |
parent | 0bd347649db35a0b43e0a0ba3d443d4f1f9b3d2b (diff) | |
download | tk-d4a4017589dd52fa8e9667df9d754fd62abd6bed.zip tk-d4a4017589dd52fa8e9667df9d754fd62abd6bed.tar.gz tk-d4a4017589dd52fa8e9667df9d754fd62abd6bed.tar.bz2 |
more reorganization of error codes: safety is common failure mode
Diffstat (limited to 'unix')
-rw-r--r-- | unix/tkUnixCursor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tkUnixCursor.c b/unix/tkUnixCursor.c index 8a19c7b..5266bde 100644 --- a/unix/tkUnixCursor.c +++ b/unix/tkUnixCursor.c @@ -313,7 +313,7 @@ TkGetCursorByName( Tcl_SetObjResult(interp, Tcl_NewStringObj( "can't get cursor from a file in a safe interpreter", -1)); - Tcl_SetErrorCode(interp, "TK", "CURSOR", "SAFE", NULL); + Tcl_SetErrorCode(interp, "TK", "SAFE", "CURSOR_FILE", NULL); cursorPtr = NULL; goto cleanup; } |