From 57ca8bbd21346ad46950ea279743b1064b684aab Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 20 Jun 2015 18:09:44 +0100 Subject: Require gadtools 53.7 OS4.1u6 does not cope well with image menus, so insist on a component in FE to ensure the layouting is sane and menu creation is fast. --- amiga/menu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/amiga/menu.c b/amiga/menu.c index c946fb740..e2bb7953e 100644 --- a/amiga/menu.c +++ b/amiga/menu.c @@ -826,8 +826,8 @@ static struct gui_window_2 *ami_menu_layout(struct gui_window_2 *gwin) } while((gwin->menutype[j] != NM_TITLE) && (gwin->menutype[j] != 0)); } #ifdef __amigaos4__ - if(LIB_IS_AT_LEAST((struct Library *)GadToolsBase, 53, 6)) { - /* GadTools 53.6+ only. For now we will only create the menu + if(LIB_IS_AT_LEAST((struct Library *)GadToolsBase, 53, 7)) { + /* GadTools 53.7+ only. For now we will only create the menu using label.image if there's a bitmap associated with the item. */ if((gwin->menuicon[i] != NULL) && (gwin->menulab[i] != NM_BARLABEL)) { int icon_width = 0; -- cgit v1.2.3