summaryrefslogtreecommitdiffstats
path: root/generic/tkScale.c
diff options
context:
space:
mode:
authorjan.nijtmans <jan.nijtmans@noemail.net>2012-04-18 18:22:03 (GMT)
committerjan.nijtmans <jan.nijtmans@noemail.net>2012-04-18 18:22:03 (GMT)
commitc1a2c8809055f8f3b2e16849ac73db23ed8dd693 (patch)
treeceb431e7d0adf6d635f33303e9e505b2a28d4bf8 /generic/tkScale.c
parent59ca05177eff5d4738f0475646685ea03a855452 (diff)
parentd054e30438b53eca86150e549cf17bec6b0b55b1 (diff)
downloadtk-c1a2c8809055f8f3b2e16849ac73db23ed8dd693.zip
tk-c1a2c8809055f8f3b2e16849ac73db23ed8dd693.tar.gz
tk-c1a2c8809055f8f3b2e16849ac73db23ed8dd693.tar.bz2
make some internal tables const
FossilOrigin-Name: a1af7fc26085b8c9597f42d836d323b89d6a9335
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 103f39c..91e04eb 100644
--- a/generic/tkScale.c
+++ b/generic/tkScale.c
@@ -26,7 +26,7 @@
* used together with the "enum orient" declaration in tkScale.h.
*/
-static char *orientStrings[] = {
+static CONST char *orientStrings[] = {
"horizontal", "vertical", NULL
};
@@ -35,7 +35,7 @@ static char *orientStrings[] = {
* used together with the "enum state" declaration in tkScale.h.
*/
-static char *stateStrings[] = {
+static CONST char *stateStrings[] = {
"active", "disabled", "normal", NULL
};