If using image menus, change the type to reflect that

This commit is contained in:
Chris Young 2013-05-19 10:09:40 +01:00
parent ddbc8c7f63
commit fe2a80fe10
1 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright 2008-9 Chris Young <chris@unsatisfactorysoftware.co.uk>
* Copyright 2008-9,2013 Chris Young <chris@unsatisfactorysoftware.co.uk>
*
* This file is part of NetSurf, http://www.netsurf-browser.org/
*
@ -179,6 +179,8 @@ static void ami_menu_alloc_item(struct gui_window_2 *gwin, int num, UBYTE type,
LABEL_Text, gwin->menulab[num],
LabelEnd;
gwin->menutype[num] |= MENU_IMAGE;
FreeScreenDrawInfo(scrn, dri);
}
}