diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-18 18:08:37 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-18 18:08:37 (GMT) |
commit | 95c5b39b2e335c0fc08a25281ad9097a29aee1ae (patch) | |
tree | bab392895ed17f917311f2fb0119304a49a10671 /generic/tkListbox.c | |
parent | 15bcec02d97d8789fa796cabdc76859618f22387 (diff) | |
download | tk-95c5b39b2e335c0fc08a25281ad9097a29aee1ae.zip tk-95c5b39b2e335c0fc08a25281ad9097a29aee1ae.tar.gz tk-95c5b39b2e335c0fc08a25281ad9097a29aee1ae.tar.bz2 |
make some more internal tables CONST
Diffstat (limited to 'generic/tkListbox.c')
-rw-r--r-- | generic/tkListbox.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkListbox.c b/generic/tkListbox.c index cc73937..6f8156f 100644 --- a/generic/tkListbox.c +++ b/generic/tkListbox.c @@ -210,7 +210,7 @@ enum state { STATE_DISABLED, STATE_NORMAL }; -static char *stateStrings[] = { +static CONST char *stateStrings[] = { "disabled", "normal", (char *) NULL }; @@ -218,7 +218,7 @@ enum activeStyle { ACTIVE_STYLE_DOTBOX, ACTIVE_STYLE_NONE, ACTIVE_STYLE_UNDERLINE }; -static char *activeStyleStrings[] = { +static CONST char *activeStyleStrings[] = { "dotbox", "none", "underline", (char *) NULL }; |