diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2007-05-20 08:26:27 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2007-05-20 08:26:27 +0000 |
commit | b85817a5ba0ffe3bab748d1623799d407bd36731 (patch) | |
tree | 95eaeee7337596aced6c552e3210cc3d758bbd2b /apps/plugins/test_codec.c | |
parent | 1062a17992d50cc362a0b7662bae75342fb69037 (diff) |
Update some comments in menu.h to be hopefully more helpful.
Fix all the wrong usage of rb->do_menu() (my fault, sorry)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13439 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/test_codec.c')
-rw-r--r-- | apps/plugins/test_codec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/test_codec.c b/apps/plugins/test_codec.c index 748b07141b..9f452de184 100644 --- a/apps/plugins/test_codec.c +++ b/apps/plugins/test_codec.c @@ -452,7 +452,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) unsigned char* codec_stack_copy; size_t codec_stack_size; struct thread_entry* codecthread_id; - int result; + int result, selection = 0; char* ch; int line = 0; @@ -529,7 +529,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) rb->lcd_clear_display(); - result=rb->do_menu(&menu,&result); + result=rb->do_menu(&menu,&selection); if (result==0) { wavinfo.fd = -1; |