diff options
author | dkf <dkf@noemail.net> | 2012-07-30 07:46:19 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2012-07-30 07:46:19 (GMT) |
commit | 2112a76a64dc50c4e3dd1605bbf24cc0336c9987 (patch) | |
tree | 7e57204b12abc171ad343d007edecaf1b17cdf09 /generic/tkListbox.c | |
parent | 24ad994d9e222210ff92f2ed12398a7178f55b34 (diff) | |
download | tk-2112a76a64dc50c4e3dd1605bbf24cc0336c9987.zip tk-2112a76a64dc50c4e3dd1605bbf24cc0336c9987.tar.gz tk-2112a76a64dc50c4e3dd1605bbf24cc0336c9987.tar.bz2 |
Working towards making the error codes more consistent.
FossilOrigin-Name: 45327b3d6fc9c1c7c415e8c25e98639bed019d84
Diffstat (limited to 'generic/tkListbox.c')
-rw-r--r-- | generic/tkListbox.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkListbox.c b/generic/tkListbox.c index 355db5b..620f82f 100644 --- a/generic/tkListbox.c +++ b/generic/tkListbox.c @@ -875,7 +875,7 @@ ListboxWidgetObjCmd( Tcl_SetObjResult(interp, Tcl_ObjPrintf( "item number \"%s\" out of range", Tcl_GetString(objv[2]))); - Tcl_SetErrorCode(interp, "TK", "LISTBOX", "ITEMIDX", NULL); + Tcl_SetErrorCode(interp, "TK", "LISTBOX", "ITEM_INDEX", NULL); result = TCL_ERROR; break; } @@ -912,7 +912,7 @@ ListboxWidgetObjCmd( Tcl_SetObjResult(interp, Tcl_ObjPrintf( "item number \"%s\" out of range", Tcl_GetString(objv[2]))); - Tcl_SetErrorCode(interp, "TK", "LISTBOX", "ITEMIDX", NULL); + Tcl_SetErrorCode(interp, "TK", "LISTBOX", "ITEM_INDEX", NULL); result = TCL_ERROR; break; } |