summaryrefslogtreecommitdiffstats
path: root/generic/tkFocus.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkFocus.c')
-rw-r--r--generic/tkFocus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkFocus.c b/generic/tkFocus.c
index bdd953e..60f631d 100644
--- a/generic/tkFocus.c
+++ b/generic/tkFocus.c
@@ -163,7 +163,7 @@ Tk_FocusObjCmd(
*/
if (Tcl_GetIndexFromObjStruct(interp, objv[1], focusOptions,
- sizeof(char), "option", 0, &index) != TCL_OK) {
+ sizeof(char *), "option", 0, &index) != TCL_OK) {
return TCL_ERROR;
}
if (objc != 3) {