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 | |
| parent | ae8af7d4c7cb0d886b345718978bd6ecde2ed9b2 (diff) | |
| download | rockbox-2a8386106b48e94051fe26659b95876cb442e71d.zip rockbox-2a8386106b48e94051fe26659b95876cb442e71d.tar.gz rockbox-2a8386106b48e94051fe26659b95876cb442e71d.tar.bz2 rockbox-2a8386106b48e94051fe26659b95876cb442e71d.tar.xz | |
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
| -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 c1faf81..b4d6763 100644 --- a/apps/main_menu.c +++ b/apps/main_menu.c @@ -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 |