summaryrefslogtreecommitdiffstats
path: root/generic/tclOOBasic.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-25 10:04:58 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-25 10:04:58 (GMT)
commita8c158be4b6bd3dc3a0fc23faf26992246c8bcc4 (patch)
tree231d897e2ebe2880bb9a06d76226aa9808b7036b /generic/tclOOBasic.c
parent6859fb45c25a8eb401e7d0decab9b77b24014627 (diff)
parentf09de888df51736f6e35a190ee1eef87b39048cf (diff)
downloadtcl-novem_unversioned_stub.zip
tcl-novem_unversioned_stub.tar.gz
tcl-novem_unversioned_stub.tar.bz2
merge novem. Some more fixes.novem_unversioned_stub
Diffstat (limited to 'generic/tclOOBasic.c')
-rw-r--r--generic/tclOOBasic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclOOBasic.c b/generic/tclOOBasic.c
index 0676618..a2a72e7 100644
--- a/generic/tclOOBasic.c
+++ b/generic/tclOOBasic.c
@@ -979,8 +979,8 @@ TclOOSelfObjCmd(
return TCL_ERROR;
} else if (objc == 1) {
index = SELF_OBJECT;
- } else if (Tcl_GetIndexFromObj(interp, objv[1], subcmds, "subcommand", 0,
- &index) != TCL_OK) {
+ } else if (Tcl_GetIndexFromObjStruct(interp, objv[1], subcmds,
+ sizeof(char *), "subcommand", 0, &index) != TCL_OK) {
return TCL_ERROR;
}