summaryrefslogtreecommitdiffstats
path: root/generic/tkScale.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-20 12:50:11 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-20 12:50:11 (GMT)
commit4536458f719fdc35f247c8139aad6b8b71471048 (patch)
treeac02899a473761587e13b2906482b07f4bb0bb66 /generic/tkScale.c
parentf4876885b53d6ed34fb1c3577e0c2d238a871953 (diff)
parent8077dd948e9d7c758be18837a1cc637007e50084 (diff)
downloadtk-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/tkScale.c')
-rw-r--r--generic/tkScale.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkScale.c b/generic/tkScale.c
index 676f84b..9b582fe 100644
--- a/generic/tkScale.c
+++ b/generic/tkScale.c
@@ -30,7 +30,7 @@
* It is used together with the "enum orient" declaration in tkScale.h.
*/
-static char *orientStrings[] = {
+static CONST char *orientStrings[] = {
"horizontal", "vertical", (char *) NULL
};
@@ -39,7 +39,7 @@ static char *orientStrings[] = {
* It is used together with the "enum state" declaration in tkScale.h.
*/
-static char *stateStrings[] = {
+static CONST char *stateStrings[] = {
"active", "disabled", "normal", (char *) NULL
};