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/wavrecord.c | |
| parent | 1062a17992d50cc362a0b7662bae75342fb69037 (diff) | |
| download | rockbox-b85817a5ba0ffe3bab748d1623799d407bd36731.zip rockbox-b85817a5ba0ffe3bab748d1623799d407bd36731.tar.gz rockbox-b85817a5ba0ffe3bab748d1623799d407bd36731.tar.bz2 rockbox-b85817a5ba0ffe3bab748d1623799d407bd36731.tar.xz | |
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/wavrecord.c')
| -rw-r--r-- | apps/plugins/wavrecord.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/plugins/wavrecord.c b/apps/plugins/wavrecord.c index 645a968..528d790 100644 --- a/apps/plugins/wavrecord.c +++ b/apps/plugins/wavrecord.c @@ -3717,9 +3717,8 @@ static int recording_menu(void) "Set channels", "Set Source", "Start recording", "Quit"); while (!done) - { - rb->do_menu(&menu, &result); - switch (result) + { + switch (rb->do_menu(&menu, &result)) { case 0: /* Set sample rate */ rb->set_option("Sample rate", &reccfg.samplerate, INT, freqs, 9, NULL); |