diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2003-12-19 10:47:12 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2003-12-19 10:47:12 +0000 |
commit | 2a8386106b48e94051fe26659b95876cb442e71d (patch) | |
tree | f72c20572328b4ce97802088f63caa84b2902e3c /apps | |
parent | ae8af7d4c7cb0d886b345718978bd6ecde2ed9b2 (diff) | |
download | rockbox-2a8386106b48e94051fe26659b95876cb442e71d.tar.gz rockbox-2a8386106b48e94051fe26659b95876cb442e71d.zip |
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
Diffstat (limited to 'apps')
-rw-r--r-- | apps/main_menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/main_menu.c b/apps/main_menu.c index c1faf815fe..b4d676332b 100644 --- a/apps/main_menu.c +++ b/apps/main_menu.c | |||
@@ -326,7 +326,7 @@ bool main_menu(void) | |||
326 | items[i++].function = simulate_usb; | 326 | items[i++].function = simulate_usb; |
327 | #endif | 327 | #endif |
328 | 328 | ||
329 | m=menu_init( items, sizeof items / sizeof(struct menu_items) ); | 329 | m=menu_init( items, i ); |
330 | #ifdef HAVE_LCD_CHARCELLS | 330 | #ifdef HAVE_LCD_CHARCELLS |
331 | status_set_param(true); | 331 | status_set_param(true); |
332 | #endif | 332 | #endif |