summaryrefslogtreecommitdiffstats
path: root/generic/tkImgBmap.c
diff options
context:
space:
mode:
authorjan.nijtmans <jan.nijtmans@noemail.net>2013-01-24 14:00:22 (GMT)
committerjan.nijtmans <jan.nijtmans@noemail.net>2013-01-24 14:00:22 (GMT)
commitfef1d5af3981b75f890d93cf84b23d8fae88208b (patch)
tree00c1f2568bb436b660acd8ed3b863b86b96cf086 /generic/tkImgBmap.c
parent45424e7561eb35720415bafa295dc9ed2e40648d (diff)
parent3c6d92b95cd66e7881d343b1fe82825dbbe078ef (diff)
downloadtk-fef1d5af3981b75f890d93cf84b23d8fae88208b.zip
tk-fef1d5af3981b75f890d93cf84b23d8fae88208b.tar.gz
tk-fef1d5af3981b75f890d93cf84b23d8fae88208b.tar.bz2
Merge core-8-5-branch
Various Tcl_GetIndexFromObj -> Tcl_GetIndexFromObjStruct changes. FossilOrigin-Name: 472e3798d1c835e41e6f42f189ae802a61971a4d
Diffstat (limited to 'generic/tkImgBmap.c')
-rw-r--r--generic/tkImgBmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkImgBmap.c b/generic/tkImgBmap.c
index bbc471e..35a4d0b 100644
--- a/generic/tkImgBmap.c
+++ b/generic/tkImgBmap.c
@@ -764,8 +764,8 @@ ImgBmapCmd(
Tcl_WrongNumArgs(interp, 1, objv, "option ?arg ...?");
return TCL_ERROR;
}
- if (Tcl_GetIndexFromObj(interp, objv[1], bmapOptions, "option", 0,
- &index) != TCL_OK) {
+ if (Tcl_GetIndexFromObjStruct(interp, objv[1], bmapOptions,
+ sizeof(char), "option", 0, &index) != TCL_OK) {
return TCL_ERROR;
}
switch (index) {