summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrmax <rmax>2004-09-10 13:42:45 (GMT)
committerrmax <rmax>2004-09-10 13:42:45 (GMT)
commit545f2bbda7598242afb10a70a2ea91c5648f87fe (patch)
treed5db0a24ebc41ff302fe807c34aa57c603713293
parent80f037674d8f8514d2615e69c6082375ab929a77 (diff)
downloadtk-545f2bbda7598242afb10a70a2ea91c5648f87fe.zip
tk-545f2bbda7598242afb10a70a2ea91c5648f87fe.tar.gz
tk-545f2bbda7598242afb10a70a2ea91c5648f87fe.tar.bz2
fixed a small typo in TextPeerCmd()
-rw-r--r--generic/tkText.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkText.c b/generic/tkText.c
index a920b20..f8a1abd 100644
--- a/generic/tkText.c
+++ b/generic/tkText.c
@@ -14,7 +14,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkText.c,v 1.52 2004/09/10 12:13:40 vincentdarley Exp $
+ * RCS: @(#) $Id: tkText.c,v 1.53 2004/09/10 13:42:45 rmax Exp $
*/
#include "default.h"
@@ -1637,7 +1637,7 @@ TextPeerCmd(textPtr, interp, objc, objv)
return TCL_ERROR;
}
- switch ((enum editOptions)index) {
+ switch ((enum peerOptions)index) {
case PEER_CREATE: {
if (objc < 4) {
Tcl_WrongNumArgs(interp, 3, objv, "pathName ?options?");