diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-08-12 07:24:55 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-08-12 07:24:55 (GMT) |
commit | 589d0dde98f21d4046bf3fa2fb4112c90863b8ad (patch) | |
tree | 3785ceeda2a40a2ce61c02dbbe3bbfb0d8e03394 /unix | |
parent | c28292a3923e7c09df16322a73d4b53eaff74b79 (diff) | |
download | tk-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 'unix')
-rw-r--r-- | unix/tkUnixMenu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tkUnixMenu.c b/unix/tkUnixMenu.c index aa54897..fc8b4f2 100644 --- a/unix/tkUnixMenu.c +++ b/unix/tkUnixMenu.c @@ -1057,7 +1057,7 @@ GetTearoffEntryGeometry( int *widthPtr, /* The resulting width */ int *heightPtr) /* The resulting height */ { - if (menuPtr->menuType != MASTER_MENU) { + if (menuPtr->menuType != MAIN_MENU) { *heightPtr = 0; *widthPtr = 0; } else { @@ -1281,7 +1281,7 @@ DrawTearoffEntry( int segmentWidth, maxX; Tk_3DBorder border; - if (menuPtr->menuType != MASTER_MENU) { + if (menuPtr->menuType != MAIN_MENU) { return; } |