diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-06-19 10:29:25 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-06-19 10:29:25 (GMT) |
commit | 6f49d103b9fdca63396e41f7e1619bd58f4a62ee (patch) | |
tree | 71968a06df024ea74a2bc06c881ffd4d50c04891 /generic/tkListbox.c | |
parent | 13510b339f3011c64fcad202211d0a9d74bff96d (diff) | |
parent | 0acc68a6147bac87f21e7e62d27758b2445de8fa (diff) | |
download | tk-6f49d103b9fdca63396e41f7e1619bd58f4a62ee.zip tk-6f49d103b9fdca63396e41f7e1619bd58f4a62ee.tar.gz tk-6f49d103b9fdca63396e41f7e1619bd58f4a62ee.tar.bz2 |
SetOptions.3: minor doc fix
make various other tables const
(all backported from Tk 8.6)
FossilOrigin-Name: 2335ee4ecc69b05ab7eafef039dd64c98a48d99e
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 aab7494..d803d7b 100644 --- a/generic/tkListbox.c +++ b/generic/tkListbox.c @@ -211,7 +211,7 @@ enum state { STATE_DISABLED, STATE_NORMAL }; -static CONST char *stateStrings[] = { +static const char *const stateStrings[] = { "disabled", "normal", NULL }; @@ -219,7 +219,7 @@ enum activeStyle { ACTIVE_STYLE_DOTBOX, ACTIVE_STYLE_NONE, ACTIVE_STYLE_UNDERLINE }; -static CONST char *activeStyleStrings[] = { +static const char *const activeStyleStrings[] = { "dotbox", "none", "underline", NULL }; |