diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2012-07-30 07:46:19 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2012-07-30 07:46:19 (GMT) |
commit | e64497a5bc67ff3b3f39e57700c650c6e7962eea (patch) | |
tree | 7e57204b12abc171ad343d007edecaf1b17cdf09 /win/ttkWinXPTheme.c | |
parent | 488df4eea56d73f306245cf3cebedcc0e25038b6 (diff) | |
download | tk-e64497a5bc67ff3b3f39e57700c650c6e7962eea.zip tk-e64497a5bc67ff3b3f39e57700c650c6e7962eea.tar.gz tk-e64497a5bc67ff3b3f39e57700c650c6e7962eea.tar.bz2 |
Working towards making the error codes more consistent.
Diffstat (limited to 'win/ttkWinXPTheme.c')
-rw-r--r-- | win/ttkWinXPTheme.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/ttkWinXPTheme.c b/win/ttkWinXPTheme.c index a343216..8666b65 100644 --- a/win/ttkWinXPTheme.c +++ b/win/ttkWinXPTheme.c @@ -1119,7 +1119,7 @@ Ttk_CreateVsapiElement( if (objc < 2) { Tcl_SetObjResult(interp, Tcl_NewStringObj( "missing required arguments 'class' and/or 'partId'", -1)); - Tcl_SetErrorCode(interp, "TCL", "VSAPI", "REQUIRED", NULL); + Tcl_SetErrorCode(interp, "TTK", "VSAPI", "REQUIRED", NULL); return TCL_ERROR; } @@ -1137,7 +1137,7 @@ Ttk_CreateVsapiElement( Tcl_SetObjResult(interp, Tcl_ObjPrintf( "Missing value for \"%s\".", Tcl_GetString(objv[i]))); - Tcl_SetErrorCode(interp, "TCL", "VSAPI", "MISSING", NULL); + Tcl_SetErrorCode(interp, "TTK", "VSAPI", "MISSING", NULL); return TCL_ERROR; } if (Tcl_GetIndexFromObj(interp, objv[i], optionStrings, |