summaryrefslogtreecommitdiffstats
path: root/generic/tkText.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-18 18:22:03 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-18 18:22:03 (GMT)
commit52ea2579ad5c7f7be961406b592293b18c1715d0 (patch)
treeceb431e7d0adf6d635f33303e9e505b2a28d4bf8 /generic/tkText.c
parentad39347cda7651ae26f4a50eb13f843935429e37 (diff)
parentf07ad57bdde610d46378e20547d39d969072d463 (diff)
downloadtk-52ea2579ad5c7f7be961406b592293b18c1715d0.zip
tk-52ea2579ad5c7f7be961406b592293b18c1715d0.tar.gz
tk-52ea2579ad5c7f7be961406b592293b18c1715d0.tar.bz2
make some internal tables const
Diffstat (limited to 'generic/tkText.c')
-rw-r--r--generic/tkText.c6
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
};