diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-18 18:22:03 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-18 18:22:03 (GMT) |
commit | 851c442b53473d494521a4633e8d764cb5d5e45a (patch) | |
tree | ceb431e7d0adf6d635f33303e9e505b2a28d4bf8 /generic/tkMenubutton.c | |
parent | 8a1bd75ea0b55649f8dbabaa86aae60fc85b116b (diff) | |
parent | 95c5b39b2e335c0fc08a25281ad9097a29aee1ae (diff) | |
download | tk-851c442b53473d494521a4633e8d764cb5d5e45a.zip tk-851c442b53473d494521a4633e8d764cb5d5e45a.tar.gz tk-851c442b53473d494521a4633e8d764cb5d5e45a.tar.bz2 |
make some internal tables const
Diffstat (limited to 'generic/tkMenubutton.c')
-rw-r--r-- | generic/tkMenubutton.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkMenubutton.c b/generic/tkMenubutton.c index b19c7aa..cb1727e 100644 --- a/generic/tkMenubutton.c +++ b/generic/tkMenubutton.c @@ -20,7 +20,7 @@ * is used together with the "enum direction" declaration in tkMenubutton.h. */ -static char *directionStrings[] = { +static CONST char *directionStrings[] = { "above", "below", "flush", "left", "right", NULL }; @@ -29,7 +29,7 @@ static char *directionStrings[] = { * used together with the "enum state" declaration in tkMenubutton.h. */ -static char *stateStrings[] = { +static CONST char *stateStrings[] = { "active", "disabled", "normal", NULL }; @@ -38,7 +38,7 @@ static char *stateStrings[] = { * is used with the "enum compound" declaration in tkMenuButton.h */ -static char *compoundStrings[] = { +static CONST char *compoundStrings[] = { "bottom", "center", "left", "none", "right", "top", NULL }; |