summaryrefslogtreecommitdiffstats
path: root/win/tkWinCursor.c
diff options
context:
space:
mode:
Diffstat (limited to 'win/tkWinCursor.c')
-rw-r--r--win/tkWinCursor.c2
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;