From 2113e22c4691728edf23768e59a0bde55d80a367 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Sat, 7 Aug 2010 21:37:55 +0000 Subject: [PATCH] Correct flawed search&replace. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27747 a1c6a512-1295-4272-9138-f99709370657 --- apps/menu.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/menu.c b/apps/menu.c index e6afec2d14..5b8b121b1a 100644 --- a/apps/menu.c +++ b/apps/menu.c @@ -381,7 +381,7 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected, #endif while (!done) { - int new_old_audio_statusus; + int new_audio_status; redraw_lists = false; if (!hide_theme) { @@ -393,12 +393,12 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected, list_do_action_timeout(&lists, HZ)); /* query audio status to see if it changed */ - new_old_audio_statusus = audio_status(); - if (old_audio_status != new_old_audio_statusus) + new_audio_status = audio_status(); + if (old_audio_status != new_audio_status) { /* force a redraw if anything changed the audio status * from outside */ redraw_lists = true; - old_audio_status = new_old_audio_statusus; + old_audio_status = new_audio_status; } /* HZ so the status bar redraws corectly */