From 0416452981d10363f83cdd80035d1da2e346ec03 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Mon, 28 May 2007 08:32:55 +0000 Subject: [PATCH] Wavrecord: Let the menu start at the most convenient item. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13501 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/wavrecord.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/plugins/wavrecord.c b/apps/plugins/wavrecord.c index f1d1515344..ee557633a4 100644 --- a/apps/plugins/wavrecord.c +++ b/apps/plugins/wavrecord.c @@ -3684,7 +3684,7 @@ static int record_file(char *filename) static int recording_menu(void) { - int result; + int menupos = 3; int rc = 0; bool done = false; @@ -3716,7 +3716,7 @@ static int recording_menu(void) while (!done) { - switch (rb->do_menu(&menu, &result)) + switch (rb->do_menu(&menu, &menupos)) { case 0: /* Set sample rate */ rb->set_option("Sample rate", &reccfg.samplerate, INT, freqs, 9, NULL);