diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-06 22:38:13 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-06 22:38:13 (GMT) |
commit | 34455b2ccec84bccf8f6380ee8ac40637bf4b8f8 (patch) | |
tree | d9ad95326825a71a929d3ee9fc22ddda9e7e02f8 /generic/tkMenu.c | |
parent | f61ecd111ced0ae28cf4b46da371fb0942ad2532 (diff) | |
parent | edf582e29363915f6b8ea7954176768d8545934f (diff) | |
download | tk-34455b2ccec84bccf8f6380ee8ac40637bf4b8f8.zip tk-34455b2ccec84bccf8f6380ee8ac40637bf4b8f8.tar.gz tk-34455b2ccec84bccf8f6380ee8ac40637bf4b8f8.tar.bz2 |
some more cygwin compatibility improvements
format tk.decls like tcl8.5/8.6
Diffstat (limited to 'generic/tkMenu.c')
-rw-r--r-- | generic/tkMenu.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkMenu.c b/generic/tkMenu.c index 15af7a2..e7e6bb8 100644 --- a/generic/tkMenu.c +++ b/generic/tkMenu.c @@ -97,9 +97,9 @@ TCL_DECLARE_MUTEX(menuMutex) * to update code in TkpMenuInit that changes the font string entry. */ -char *tkMenuStateStrings[] = {"active", "normal", "disabled", NULL}; +const char *tkMenuStateStrings[] = {"active", "normal", "disabled", NULL}; -static CONST char *menuEntryTypeStrings[] = { +static const char *menuEntryTypeStrings[] = { "cascade", "checkbutton", "command", "radiobutton", "separator", NULL }; @@ -108,7 +108,7 @@ static CONST char *menuEntryTypeStrings[] = { * is used with the "enum compound" declaration in tkMenu.h */ -static char *compoundStrings[] = { +static const char *compoundStrings[] = { "bottom", "center", "left", "none", "right", "top", NULL }; |