Silly me, I passed the wrong number of items to menu_init(). Thanks to Mike Grupenhoff for pointing that out.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4167 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2003-12-19 10:47:12 +00:00
parent ae8af7d4c7
commit 2a8386106b

View file

@ -326,7 +326,7 @@ bool main_menu(void)
items[i++].function = simulate_usb;
#endif
m=menu_init( items, sizeof items / sizeof(struct menu_items) );
m=menu_init( items, i );
#ifdef HAVE_LCD_CHARCELLS
status_set_param(true);
#endif