summaryrefslogtreecommitdiffstats
path: root/win/tkWinMenu.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-08-12 07:24:55 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-08-12 07:24:55 (GMT)
commit589d0dde98f21d4046bf3fa2fb4112c90863b8ad (patch)
tree3785ceeda2a40a2ce61c02dbbe3bbfb0d8e03394 /win/tkWinMenu.c
parentc28292a3923e7c09df16322a73d4b53eaff74b79 (diff)
downloadtk-589d0dde98f21d4046bf3fa2fb4112c90863b8ad.zip
tk-589d0dde98f21d4046bf3fa2fb4112c90863b8ad.tar.gz
tk-589d0dde98f21d4046bf3fa2fb4112c90863b8ad.tar.bz2
Rename (internal) MAASTER_MENU to MAIN_MENU, but keep the original, just to be sure
Diffstat (limited to 'win/tkWinMenu.c')
-rw-r--r--win/tkWinMenu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWinMenu.c b/win/tkWinMenu.c
index 6c55164..67894c7 100644
--- a/win/tkWinMenu.c
+++ b/win/tkWinMenu.c
@@ -1689,7 +1689,7 @@ GetTearoffEntryGeometry(
(void)mePtr;
(void)tkfont;
- if (menuPtr->menuType != MASTER_MENU) {
+ if (menuPtr->menuType != MAIN_MENU) {
*heightPtr = 0;
} else {
*heightPtr = fmPtr->linespace;
@@ -2597,7 +2597,7 @@ DrawTearoffEntry(
(void)tkfont;
(void)fmPtr;
- if (menuPtr->menuType != MASTER_MENU) {
+ if (menuPtr->menuType != MAIN_MENU) {
return;
}