summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2011-03-24 09:12:17 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2011-03-24 09:12:17 (GMT)
commitfe3d6b650e607816bf94213b17c95b2c6b1d05f0 (patch)
tree5ec248853bc9b138eab8e9f3115ece1e306b8edf
parentd68b078b5ccb7111f9c82f5d536184052563a8bd (diff)
downloadtcl-fe3d6b650e607816bf94213b17c95b2c6b1d05f0.zip
tcl-fe3d6b650e607816bf94213b17c95b2c6b1d05f0.tar.gz
tcl-fe3d6b650e607816bf94213b17c95b2c6b1d05f0.tar.bz2
Correct bizarre name of enumeration member.
-rw-r--r--generic/tclEvent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclEvent.c b/generic/tclEvent.c
index 78bd7b8..a8bab0b 100644
--- a/generic/tclEvent.c
+++ b/generic/tclEvent.c
@@ -1479,7 +1479,7 @@ Tcl_UpdateObjCmd(
int optionIndex;
int flags = 0; /* Initialized to avoid compiler warning. */
static const char *const updateOptions[] = {"idletasks", NULL};
- enum updateOptions {REGEXP_IDLETASKS};
+ enum updateOptions {OPT_IDLETASKS};
if (objc == 1) {
flags = TCL_ALL_EVENTS|TCL_DONT_WAIT;
@@ -1489,7 +1489,7 @@ Tcl_UpdateObjCmd(
return TCL_ERROR;
}
switch ((enum updateOptions) optionIndex) {
- case REGEXP_IDLETASKS:
+ case OPT_IDLETASKS:
flags = TCL_WINDOW_EVENTS|TCL_IDLE_EVENTS|TCL_DONT_WAIT;
break;
default: