From b85817a5ba0ffe3bab748d1623799d407bd36731 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sun, 20 May 2007 08:26:27 +0000 Subject: 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 --- apps/plugins/wavrecord.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'apps/plugins/wavrecord.c') 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); -- cgit v1.1