summaryrefslogtreecommitdiffstats
path: root/generic/ttk/ttkState.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2012-07-30 09:08:25 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2012-07-30 09:08:25 (GMT)
commit0bd347649db35a0b43e0a0ba3d443d4f1f9b3d2b (patch)
tree031f1c2df728052af4573ff7ea91cadf69634adf /generic/ttk/ttkState.c
parentca5623894dd113cd5642189574cf6c104c64cad8 (diff)
downloadtk-0bd347649db35a0b43e0a0ba3d443d4f1f9b3d2b.zip
tk-0bd347649db35a0b43e0a0ba3d443d4f1f9b3d2b.tar.gz
tk-0bd347649db35a0b43e0a0ba3d443d4f1f9b3d2b.tar.bz2
more auditing of error codes
Diffstat (limited to 'generic/ttk/ttkState.c')
-rw-r--r--generic/ttk/ttkState.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/ttk/ttkState.c b/generic/ttk/ttkState.c
index 151dc4d..c34b900 100644
--- a/generic/ttk/ttkState.c
+++ b/generic/ttk/ttkState.c
@@ -218,7 +218,7 @@ Tcl_Obj *Ttk_StateMapLookup(
}
if (interp) {
Tcl_SetObjResult(interp, Tcl_NewStringObj("No match in state map", -1));
- Tcl_SetErrorCode(interp, "TTK", "LOOKUP", "STATE", NULL);
+ Tcl_SetErrorCode(interp, "TTK", "STATE", "UNMATCHED", NULL);
}
return NULL;
}