summaryrefslogtreecommitdiffstats
path: root/generic/tkButton.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)
commit8e4cfc592771290d75f559ef2dea0836cc26e7fe (patch)
tree1fb2875276fc5cbc1467e2eb88932f8d4a1ff96f /generic/tkButton.c
parente0b0e0d820827f64af467e09ae1556ac755d9f11 (diff)
downloadtk-8e4cfc592771290d75f559ef2dea0836cc26e7fe.zip
tk-8e4cfc592771290d75f559ef2dea0836cc26e7fe.tar.gz
tk-8e4cfc592771290d75f559ef2dea0836cc26e7fe.tar.bz2
more places converted
Diffstat (limited to 'generic/tkButton.c')
-rw-r--r--generic/tkButton.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkButton.c b/generic/tkButton.c
index 94a904d..30d8ae9 100644
--- a/generic/tkButton.c
+++ b/generic/tkButton.c
@@ -798,7 +798,7 @@ ButtonWidgetObjCmd(
return TCL_ERROR;
}
result = Tcl_GetIndexFromObjStruct(interp, objv[1], commandNames[butPtr->type],
- sizeof(char), "option", 0, &index);
+ sizeof(char *), "option", 0, &index);
if (result != TCL_OK) {
return result;
}