summaryrefslogtreecommitdiffstats
path: root/generic/tkMenu.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2008-10-30 23:18:59 (GMT)
committernijtmans <nijtmans>2008-10-30 23:18:59 (GMT)
commitb80410a3176c80b33569bc238edd883bbb215f5f (patch)
tree9f94fbbc8e20c71db340e9aa5b02b47387bd82f0 /generic/tkMenu.c
parent6c42063c88d144a80955e80d2fa95fd934a8e708 (diff)
downloadtk-b80410a3176c80b33569bc238edd883bbb215f5f.zip
tk-b80410a3176c80b33569bc238edd883bbb215f5f.tar.gz
tk-b80410a3176c80b33569bc238edd883bbb215f5f.tar.bz2
more internal -Wwrite-strings warning fixes
Diffstat (limited to 'generic/tkMenu.c')
-rw-r--r--generic/tkMenu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkMenu.c b/generic/tkMenu.c
index 8ae6518..85e1034 100644
--- a/generic/tkMenu.c
+++ b/generic/tkMenu.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkMenu.c,v 1.45 2008/10/17 23:18:37 nijtmans Exp $
+ * RCS: @(#) $Id: tkMenu.c,v 1.46 2008/10/30 23:18:59 nijtmans Exp $
*/
/*
@@ -110,7 +110,7 @@ static const char *const menuEntryTypeStrings[] = {
* is used with the "enum compound" declaration in tkMenu.h
*/
-static char *const compoundStrings[] = {
+static const char *const compoundStrings[] = {
"bottom", "center", "left", "none", "right", "top", NULL
};