summaryrefslogtreecommitdiffstats
path: root/generic/tkTextImage.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)
commita52db1da27bb332f7c3b0b7bb457b95621e24e2e (patch)
tree1fb2875276fc5cbc1467e2eb88932f8d4a1ff96f /generic/tkTextImage.c
parentb744234ad43b7dc3544f0184e2b76d9f28137551 (diff)
downloadtk-a52db1da27bb332f7c3b0b7bb457b95621e24e2e.zip
tk-a52db1da27bb332f7c3b0b7bb457b95621e24e2e.tar.gz
tk-a52db1da27bb332f7c3b0b7bb457b95621e24e2e.tar.bz2
more places converted
Diffstat (limited to 'generic/tkTextImage.c')
-rw-r--r--generic/tkTextImage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkTextImage.c b/generic/tkTextImage.c
index 4a98d42..41dd448 100644
--- a/generic/tkTextImage.c
+++ b/generic/tkTextImage.c
@@ -138,8 +138,8 @@ TkTextImageCmd(
Tcl_WrongNumArgs(interp, 2, objv, "option ?arg ...?");
return TCL_ERROR;
}
- if (Tcl_GetIndexFromObj(interp, objv[2], optionStrings, "option", 0,
- &idx) != TCL_OK) {
+ if (Tcl_GetIndexFromObjStruct(interp, objv[2], optionStrings,
+ sizeof(char *), "option", 0, &idx) != TCL_OK) {
return TCL_ERROR;
}
switch ((enum opts) idx) {