summaryrefslogtreecommitdiffstats
path: root/generic/tclEvent.c
diff options
context:
space:
mode:
authordkf <dkf@noemail.net>2011-03-24 09:12:17 (GMT)
committerdkf <dkf@noemail.net>2011-03-24 09:12:17 (GMT)
commit2fce12a3f59afec04b5d3b3769d938b2aacdac24 (patch)
tree5ec248853bc9b138eab8e9f3115ece1e306b8edf /generic/tclEvent.c
parent17c1163f995dcfdb85e43f7a4fe0b08f37f8ca6f (diff)
downloadtcl-2fce12a3f59afec04b5d3b3769d938b2aacdac24.zip
tcl-2fce12a3f59afec04b5d3b3769d938b2aacdac24.tar.gz
tcl-2fce12a3f59afec04b5d3b3769d938b2aacdac24.tar.bz2
Correct bizarre name of enumeration member.
FossilOrigin-Name: 0fe67a0357772af73218487787cea28e4ef952fe
Diffstat (limited to 'generic/tclEvent.c')
-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: