summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-05-28 08:32:55 +0000
committerJens Arnold <amiconn@rockbox.org>2007-05-28 08:32:55 +0000
commit0416452981d10363f83cdd80035d1da2e346ec03 (patch)
treefe90159dc9d792efef147ccaf368853e34060fc5 /apps/plugins
parent5f6832d082f20a1f58eb244dc922ac74786a7171 (diff)
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
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/wavrecord.c4
1 files 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);