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/tkPanedWindow.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/tkPanedWindow.c')
-rw-r--r-- | generic/tkPanedWindow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkPanedWindow.c b/generic/tkPanedWindow.c index 68d62d7..9029265 100644 --- a/generic/tkPanedWindow.c +++ b/generic/tkPanedWindow.c @@ -35,7 +35,7 @@ * The following table defines the legal values for the -orient option. */ -static char *orientStrings[] = { +static CONST char *orientStrings[] = { "horizontal", "vertical", NULL }; @@ -45,7 +45,7 @@ enum orient { ORIENT_HORIZONTAL, ORIENT_VERTICAL }; * The following table defines the legal values for the -stretch option. */ -static char *stretchStrings[] = { +static const char *stretchStrings[] = { "always", "first", "last", "middle", "never", NULL }; |