Somebody found a way to nest 6 menus deep. Congratulations. Fixes FS#5970

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10962 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Peter D'Hoye 2006-09-16 19:51:46 +00:00
parent 1f760b8db4
commit a3d686f961

View file

@ -60,7 +60,7 @@ struct menu {
struct gui_synclist synclist;
};
#define MAX_MENUS 5
#define MAX_MENUS 6
static struct menu menus[MAX_MENUS];
static bool inuse[MAX_MENUS] = { false };