diff options
author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2012-04-06 22:04:03 (GMT) |
---|---|---|
committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2012-04-06 22:04:03 (GMT) |
commit | 00e5f8f528b154629994e035e2be09e018cc3cae (patch) | |
tree | 845dc4e8e220a3589692bbc862c9d74649410158 /generic | |
parent | dbfee39d1b8413222ea9348ce255ba704066dd64 (diff) | |
download | tk-00e5f8f528b154629994e035e2be09e018cc3cae.zip tk-00e5f8f528b154629994e035e2be09e018cc3cae.tar.gz tk-00e5f8f528b154629994e035e2be09e018cc3cae.tar.bz2 |
some more cygwin compatibility improvements
Diffstat (limited to 'generic')
-rwxr-xr-x[-rw-r--r--] | generic/default.h | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | generic/tkColor.c | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | generic/tkMenu.c | 4 | ||||
-rw-r--r-- | generic/tkMenu.h | 2 |
4 files changed, 3 insertions, 3 deletions
diff --git a/generic/default.h b/generic/default.h index dd4f609..dd4f609 100644..100755 --- a/generic/default.h +++ b/generic/default.h diff --git a/generic/tkColor.c b/generic/tkColor.c index a5a1136..a5a1136 100644..100755 --- a/generic/tkColor.c +++ b/generic/tkColor.c 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 }; diff --git a/generic/tkMenu.h b/generic/tkMenu.h index 767e3fc..a428d4c 100644 --- a/generic/tkMenu.h +++ b/generic/tkMenu.h @@ -238,7 +238,7 @@ typedef struct TkMenuEntry { * Menu states */ -EXTERN char *tkMenuStateStrings[]; +EXTERN CONST char *tkMenuStateStrings[]; #define ENTRY_ACTIVE 0 #define ENTRY_NORMAL 1 |