diff options
Diffstat (limited to 'generic/tkArgv.c')
-rw-r--r-- | generic/tkArgv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkArgv.c b/generic/tkArgv.c index 56f628b..dbcfc7d 100644 --- a/generic/tkArgv.c +++ b/generic/tkArgv.c @@ -282,7 +282,7 @@ Tk_ParseArgv( default: Tcl_SetObjResult(interp, Tcl_ObjPrintf( "bad argument type %d in Tk_ArgvInfo", infoPtr->type)); - Tcl_SetErrorCode(interp, "TK", "ARG", "BAD_TYPE", NULL); + Tcl_SetErrorCode(interp, "TK", "API_ABUSE", NULL); return TCL_ERROR; } } |