Correct flawed search&replace.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27747 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Martitz 2010-08-07 21:37:55 +00:00
parent ca4439ff65
commit 2113e22c46

View file

@ -381,7 +381,7 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected,
#endif #endif
while (!done) while (!done)
{ {
int new_old_audio_statusus; int new_audio_status;
redraw_lists = false; redraw_lists = false;
if (!hide_theme) 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)); list_do_action_timeout(&lists, HZ));
/* query audio status to see if it changed */ /* query audio status to see if it changed */
new_old_audio_statusus = audio_status(); new_audio_status = audio_status();
if (old_audio_status != new_old_audio_statusus) if (old_audio_status != new_audio_status)
{ /* force a redraw if anything changed the audio status { /* force a redraw if anything changed the audio status
* from outside */ * from outside */
redraw_lists = true; redraw_lists = true;
old_audio_status = new_old_audio_statusus; old_audio_status = new_audio_status;
} }
/* HZ so the status bar redraws corectly */ /* HZ so the status bar redraws corectly */