Attempt at fixing the reds that I created

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1696 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Justin Heiner 2002-08-13 08:08:48 +00:00
parent 953a74ad11
commit 59bc319237

View file

@ -173,6 +173,7 @@ static void draw_screen(struct mp3entry* id3)
int player_id3_show(void) int player_id3_show(void)
{ {
#ifdef HAVE_PLAYER_KEYPAD
int button; int button;
int menu_pos = 0; int menu_pos = 0;
int menu_max = 6; int menu_max = 6;
@ -286,7 +287,8 @@ int player_id3_show(void)
lcd_update(); lcd_update();
yield(); yield();
} }
#endif
return(0);
} }
void display_keylock_text(bool locked) void display_keylock_text(bool locked)
@ -489,13 +491,13 @@ int wps_show(void)
break; break;
case BUTTON_MENU | BUTTON_ON: case BUTTON_MENU | BUTTON_ON:
int retval;
if (keys_locked) if (keys_locked)
{ {
display_keylock_text(keys_locked); display_keylock_text(keys_locked);
draw_screen(id3); draw_screen(id3);
break; break;
} }
int retval;
dont_go_to_menu = true; dont_go_to_menu = true;
lcd_stop_scroll(); lcd_stop_scroll();
retval = player_id3_show(); retval = player_id3_show();
@ -532,7 +534,7 @@ int wps_show(void)
#endif #endif
#ifdef HAVE_RECORDER_KEYPAD #ifdef HAVE_RECORDER_KEYPAD
case BUTTON_F1: | BUTTON_UP: case BUTTON_F1 | BUTTON_UP:
#else #else
case BUTTON_MENU | BUTTON_UP: case BUTTON_MENU | BUTTON_UP:
#endif #endif