1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Jonathan Gordon 2007-05-20 08:26:27 +00:00
parent 1062a17992
commit b85817a5ba
11 changed files with 34 additions and 26 deletions

View file

@ -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);