From 45c57e50b252e1fb176cace1a9b82268322a72f0 Mon Sep 17 00:00:00 2001 From: Magnus Holmgren Date: Tue, 15 Aug 2006 19:52:03 +0000 Subject: [PATCH] * Make ID3 info screen usable again (and not exit right after enter), though maybe a few more buttons should cause an exit.\n* Also save a few bytes of code... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10592 a1c6a512-1295-4272-9138-f99709370657 --- apps/screens.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/screens.c b/apps/screens.c index 6d9f79e6a5..43680e5564 100644 --- a/apps/screens.c +++ b/apps/screens.c @@ -1012,7 +1012,7 @@ char * id3_get_info(int selected_item, void* data, char *buffer) int info_no=selected_item/2; if(!(selected_item%2)) {/* header */ - int headers[]= + static const int headers[]= { LANG_ID3_TITLE, LANG_ID3_ARTIST, @@ -1117,7 +1117,7 @@ bool browse_id3(void) gui_synclist_draw(&id3_lists); while (true) { key = get_action(CONTEXT_STD,HZ/2); - if(key!=ACTION_NONE && /* !(key&BUTTON_REL) && ?? */ !gui_synclist_do_button(&id3_lists, key)) + if(key!=ACTION_NONE && key!=ACTION_UNKNOWN && /* !(key&BUTTON_REL) && ?? */ !gui_synclist_do_button(&id3_lists, key)) { action_signalscreenchange(); return(default_event_handler(key) == SYS_USB_CONNECTED);