summaryrefslogtreecommitdiffstats
path: root/generic/tkOption.c
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2013-01-24 14:00:22 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2013-01-24 14:00:22 (GMT)
commitb4870fefb5de15615267fb0184f0e66b95fd925c (patch)
tree00c1f2568bb436b660acd8ed3b863b86b96cf086 /generic/tkOption.c
parent098cad57037957c0bd95ee7f6af7b2893077c40b (diff)
parentb66c67a7376b8cac6a2979d59ff4fc0bf0d3dd88 (diff)
downloadtk-b4870fefb5de15615267fb0184f0e66b95fd925c.zip
tk-b4870fefb5de15615267fb0184f0e66b95fd925c.tar.gz
tk-b4870fefb5de15615267fb0184f0e66b95fd925c.tar.bz2
Merge core-8-5-branch
Various Tcl_GetIndexFromObj -> Tcl_GetIndexFromObjStruct changes.
Diffstat (limited to 'generic/tkOption.c')
-rw-r--r--generic/tkOption.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkOption.c b/generic/tkOption.c
index ec9e465..9a6b306 100644
--- a/generic/tkOption.c
+++ b/generic/tkOption.c
@@ -631,8 +631,8 @@ Tk_OptionObjCmd(
return TCL_ERROR;
}
- result = Tcl_GetIndexFromObj(interp, objv[1], optionCmds, "option", 0,
- &index);
+ result = Tcl_GetIndexFromObjStruct(interp, objv[1], optionCmds,
+ sizeof(char), "option", 0, &index);
if (result != TCL_OK) {
return result;
}