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 | 52ea2579ad5c7f7be961406b592293b18c1715d0 (patch) | |
tree | ceb431e7d0adf6d635f33303e9e505b2a28d4bf8 /generic/tkPanedWindow.c | |
parent | ad39347cda7651ae26f4a50eb13f843935429e37 (diff) | |
parent | f07ad57bdde610d46378e20547d39d969072d463 (diff) | |
download | tk-52ea2579ad5c7f7be961406b592293b18c1715d0.zip tk-52ea2579ad5c7f7be961406b592293b18c1715d0.tar.gz tk-52ea2579ad5c7f7be961406b592293b18c1715d0.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 }; |