diff options
Diffstat (limited to 'generic/tkOption.c')
-rw-r--r-- | generic/tkOption.c | 4 |
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; } |