diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-01-24 22:23:54 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-01-24 22:23:54 (GMT) |
commit | 8e4cfc592771290d75f559ef2dea0836cc26e7fe (patch) | |
tree | 1fb2875276fc5cbc1467e2eb88932f8d4a1ff96f /generic/tkCmds.c | |
parent | e0b0e0d820827f64af467e09ae1556ac755d9f11 (diff) | |
download | tk-8e4cfc592771290d75f559ef2dea0836cc26e7fe.zip tk-8e4cfc592771290d75f559ef2dea0836cc26e7fe.tar.gz tk-8e4cfc592771290d75f559ef2dea0836cc26e7fe.tar.bz2 |
more places converted
Diffstat (limited to 'generic/tkCmds.c')
-rw-r--r-- | generic/tkCmds.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkCmds.c b/generic/tkCmds.c index 1e260b5..f203c4c 100644 --- a/generic/tkCmds.c +++ b/generic/tkCmds.c @@ -109,8 +109,8 @@ Tk_BellObjCmd( } for (i = 1; i < objc; i++) { - if (Tcl_GetIndexFromObj(interp, objv[i], bellOptions, "option", 0, - &index) != TCL_OK) { + if (Tcl_GetIndexFromObjStruct(interp, objv[i], bellOptions, + sizeof(char *), "option", 0, &index) != TCL_OK) { return TCL_ERROR; } switch ((enum options) index) { @@ -2118,7 +2118,7 @@ TkDeadAppCmd( const char **argv) /* Argument strings. */ { Tcl_SetObjResult(interp, Tcl_ObjPrintf( - "can't invoke \"%s\" command: application has been destroyed", + "can't invoke \"%s\" command: application has been destroyed", argv[0])); return TCL_ERROR; } |