summaryrefslogtreecommitdiffstats
path: root/generic/tkPlace.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/tkPlace.c
parentb744234ad43b7dc3544f0184e2b76d9f28137551 (diff)
downloadtk-a52db1da27bb332f7c3b0b7bb457b95621e24e2e.zip
tk-a52db1da27bb332f7c3b0b7bb457b95621e24e2e.tar.gz
tk-a52db1da27bb332f7c3b0b7bb457b95621e24e2e.tar.bz2
more places converted
Diffstat (limited to 'generic/tkPlace.c')
-rw-r--r--generic/tkPlace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkPlace.c b/generic/tkPlace.c
index afba488..9fa406a 100644
--- a/generic/tkPlace.c
+++ b/generic/tkPlace.c
@@ -276,8 +276,8 @@ Tk_PlaceObjCmd(
dispPtr->placeInit = 1;
}
- 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;
}