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/tkText.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/tkText.c')
-rw-r--r-- | generic/tkText.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkText.c b/generic/tkText.c index 6652f3d..6156dd4 100644 --- a/generic/tkText.c +++ b/generic/tkText.c @@ -48,7 +48,7 @@ * table below. */ -static char *stateStrings[] = { +static const char *stateStrings[] = { "disabled", "normal", NULL }; @@ -58,7 +58,7 @@ static char *stateStrings[] = { * table below. */ -static char *wrapStrings[] = { +static const char *wrapStrings[] = { "char", "none", "word", NULL }; @@ -68,7 +68,7 @@ static char *wrapStrings[] = { * the string table below. */ -static char *tabStyleStrings[] = { +static const char *tabStyleStrings[] = { "tabular", "wordprocessor", NULL }; |