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 /win | |
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 'win')
-rw-r--r-- | win/tkWinCursor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tkWinCursor.c b/win/tkWinCursor.c index e7dbc65..622ba4d 100644 --- a/win/tkWinCursor.c +++ b/win/tkWinCursor.c @@ -132,7 +132,7 @@ TkGetCursorByName( if (Tcl_IsSafe(interp)) { 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); ckfree(argv); ckfree(cursorPtr); return NULL; |