summaryrefslogtreecommitdiffstats
path: root/generic/tkBind.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-24 22:23:54 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-24 22:23:54 (GMT)
commit8e4cfc592771290d75f559ef2dea0836cc26e7fe (patch)
tree1fb2875276fc5cbc1467e2eb88932f8d4a1ff96f /generic/tkBind.c
parente0b0e0d820827f64af467e09ae1556ac755d9f11 (diff)
downloadtk-8e4cfc592771290d75f559ef2dea0836cc26e7fe.zip
tk-8e4cfc592771290d75f559ef2dea0836cc26e7fe.tar.gz
tk-8e4cfc592771290d75f559ef2dea0836cc26e7fe.tar.bz2
more places converted
Diffstat (limited to 'generic/tkBind.c')
-rw-r--r--generic/tkBind.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tkBind.c b/generic/tkBind.c
index d5294fc..77d302f 100644
--- a/generic/tkBind.c
+++ b/generic/tkBind.c
@@ -2349,8 +2349,8 @@ Tk_EventObjCmd(
Tcl_WrongNumArgs(interp, 1, objv, "option ?arg?");
return TCL_ERROR;
}
- if (Tcl_GetIndexFromObj(interp, objv[1], optionStrings, "option", 0,
- &index) != TCL_OK) {
+ if (Tcl_GetIndexFromObjStruct(interp, objv[1], optionStrings,
+ sizeof(char *), "option", 0, &index) != TCL_OK) {
return TCL_ERROR;
}
@@ -3006,8 +3006,8 @@ HandleEventGenerate(
optionPtr = objv[i];
valuePtr = objv[i + 1];
- if (Tcl_GetIndexFromObj(interp, optionPtr, fieldStrings, "option",
- TCL_EXACT, &index) != TCL_OK) {
+ if (Tcl_GetIndexFromObjStruct(interp, optionPtr, fieldStrings,
+ sizeof(char *), "option", TCL_EXACT, &index) != TCL_OK) {
return TCL_ERROR;
}
if (objc & 1) {