summaryrefslogtreecommitdiffstats
path: root/generic/tkListbox.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-19 10:29:25 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-19 10:29:25 (GMT)
commit6693fb8816631164cfb8cf78e33030fbceedba5b (patch)
tree71968a06df024ea74a2bc06c881ffd4d50c04891 /generic/tkListbox.c
parent2765a470e02048d3bd73bf18d4cc7b5191faab0b (diff)
parent23abd217c7df90a80ee411cfe2090d75942cf750 (diff)
downloadtk-6693fb8816631164cfb8cf78e33030fbceedba5b.zip
tk-6693fb8816631164cfb8cf78e33030fbceedba5b.tar.gz
tk-6693fb8816631164cfb8cf78e33030fbceedba5b.tar.bz2
SetOptions.3: minor doc fix
make various other tables const (all backported from Tk 8.6)
Diffstat (limited to 'generic/tkListbox.c')
-rw-r--r--generic/tkListbox.c4
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
};