diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-20 12:50:11 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-20 12:50:11 (GMT) |
commit | 4536458f719fdc35f247c8139aad6b8b71471048 (patch) | |
tree | ac02899a473761587e13b2906482b07f4bb0bb66 /generic/tkEntry.c | |
parent | f4876885b53d6ed34fb1c3577e0c2d238a871953 (diff) | |
parent | 8077dd948e9d7c758be18837a1cc637007e50084 (diff) | |
download | tk-4536458f719fdc35f247c8139aad6b8b71471048.zip tk-4536458f719fdc35f247c8139aad6b8b71471048.tar.gz tk-4536458f719fdc35f247c8139aad6b8b71471048.tar.bz2 |
fix (hopefully) menu posting in the same way as window placement
Diffstat (limited to 'generic/tkEntry.c')
-rw-r--r-- | generic/tkEntry.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkEntry.c b/generic/tkEntry.c index afd6b15..c6eed1b 100644 --- a/generic/tkEntry.c +++ b/generic/tkEntry.c @@ -35,7 +35,7 @@ #define DOUBLES_EQ(d1, d2) (fabs((d1) - (d2)) < MIN_DBL_VAL) -static char *stateStrings[] = { +static CONST char *stateStrings[] = { "disabled", "normal", "readonly", (char *) NULL }; @@ -43,7 +43,7 @@ static char *stateStrings[] = { * Definitions for -validate option values: */ -static char *validateStrings[] = { +static CONST char *validateStrings[] = { "all", "key", "focus", "focusin", "focusout", "none", (char *) NULL }; enum validateType { |