summaryrefslogtreecommitdiff
path: root/apps/menu.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-08-07 21:37:55 +0000
committerThomas Martitz <kugel@rockbox.org>2010-08-07 21:37:55 +0000
commit2113e22c4691728edf23768e59a0bde55d80a367 (patch)
treea1d7247f843139ad8e85e450d4f4eeccf9e1c64d /apps/menu.c
parentca4439ff65bdc93fc44f4cc1be52aab50217ce78 (diff)
Correct flawed search&replace.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27747 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menu.c')
-rw-r--r--apps/menu.c8
1 files 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 */