summaryrefslogtreecommitdiffstats
path: root/generic/tkMenu.c
diff options
context:
space:
mode:
authorjan.nijtmans <jan.nijtmans@noemail.net>2012-04-06 22:04:03 (GMT)
committerjan.nijtmans <jan.nijtmans@noemail.net>2012-04-06 22:04:03 (GMT)
commitdc02c450669a2070e87c2bc5069492c18467d1a2 (patch)
tree845dc4e8e220a3589692bbc862c9d74649410158 /generic/tkMenu.c
parentcd898e2f3d1010a3ebe3a9a7ae19b272aaafebf9 (diff)
downloadtk-dc02c450669a2070e87c2bc5069492c18467d1a2.zip
tk-dc02c450669a2070e87c2bc5069492c18467d1a2.tar.gz
tk-dc02c450669a2070e87c2bc5069492c18467d1a2.tar.bz2
some more cygwin compatibility improvements
FossilOrigin-Name: e18429c93eb1eb686e0fa9f4939d659e2f6b6ed5
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
};