summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2015-06-20 18:09:44 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2015-06-20 18:09:44 +0100
commit57ca8bbd21346ad46950ea279743b1064b684aab (patch)
tree5f2a0d55fbbaecb3ab55e42f0996ec102e794be9
parentfbbb6d664d2cf1549fb64a980dd829be0553aa12 (diff)
downloadnetsurf-57ca8bbd21346ad46950ea279743b1064b684aab.tar.gz
netsurf-57ca8bbd21346ad46950ea279743b1064b684aab.tar.bz2
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.
-rw-r--r--amiga/menu.c4
1 files 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;