From 34ccff1ecce11bac423da81e6e2269ac6dafc26b Mon Sep 17 00:00:00 2001 From: Michiel Van Der Kolk Date: Sun, 8 May 2005 15:56:37 +0000 Subject: Hopefully this fixes red.. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6436 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/databox/databox.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'apps') diff --git a/apps/plugins/databox/databox.c b/apps/plugins/databox/databox.c index 51ba86f421..c801f172f4 100644 --- a/apps/plugins/databox/databox.c +++ b/apps/plugins/databox/databox.c @@ -261,7 +261,11 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) rb->memcpy(&editor.token[editor.currentindex],&editing.old_token,sizeof(struct token)); editing.selecting=0; } - else if(button&BUTTON_SELECT) { + else if(button&BUTTON_PLAY +#if CONFIG_KEYPAD == IRIVER_H100_PAD + ||button&BUTTON_SELECT +#endif + ) { buildtoken(editing.selection_candidates[editing.currentselection],&editor.token[editor.currentindex]); editing.selecting=0; if(editor.token[editor.currentindex].kind==TOKEN_EOF) @@ -302,7 +306,11 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) else if(button&BUTTON_OFF) { done=1; } - else if(button&BUTTON_SELECT) { + else if(button&BUTTON_PLAY +#if CONFIG_KEYPAD == IRIVER_H100_PAD + ||button&BUTTON_SELECT +#endif + ) { editing.selecting=1; editing.currentselection=0; buildchoices(acceptedmask); -- cgit v1.2.3