summaryrefslogtreecommitdiffstats
path: root/generic/tkMenu.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-06 22:04:03 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-06 22:04:03 (GMT)
commitedf582e29363915f6b8ea7954176768d8545934f (patch)
tree845dc4e8e220a3589692bbc862c9d74649410158 /generic/tkMenu.c
parentca830add40b2f1d21998d01aa0a67b9d0d4dd275 (diff)
downloadtk-edf582e29363915f6b8ea7954176768d8545934f.zip
tk-edf582e29363915f6b8ea7954176768d8545934f.tar.gz
tk-edf582e29363915f6b8ea7954176768d8545934f.tar.bz2
some more cygwin compatibility improvements
Diffstat (limited to 'generic/tkMenu.c')
-rwxr-xr-x[-rw-r--r--]generic/tkMenu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkMenu.c b/generic/tkMenu.c
index c996df8..19031c5 100644..100755
--- a/generic/tkMenu.c
+++ b/generic/tkMenu.c
@@ -101,7 +101,7 @@ TCL_DECLARE_MUTEX(menuMutex)
* to update code in TkpMenuInit that changes the font string entry.
*/
-char *tkMenuStateStrings[] = {"active", "normal", "disabled", (char *) NULL};
+CONST char *tkMenuStateStrings[] = {"active", "normal", "disabled", (char *) NULL};
static CONST char *menuEntryTypeStrings[] = {
"cascade", "checkbutton", "command", "radiobutton", "separator",
@@ -113,7 +113,7 @@ static CONST char *menuEntryTypeStrings[] = {
* It is used with the "enum compound" declaration in tkMenu.h
*/
-static char *compoundStrings[] = {
+static const char *compoundStrings[] = {
"bottom", "center", "left", "none", "right", "top", (char *) NULL
};