diff options
author | Michiel Van Der Kolk <not.valid@email.address> | 2005-05-08 15:56:37 +0000 |
---|---|---|
committer | Michiel Van Der Kolk <not.valid@email.address> | 2005-05-08 15:56:37 +0000 |
commit | 34ccff1ecce11bac423da81e6e2269ac6dafc26b (patch) | |
tree | d97a4c2e70ed2ef855993810d756ab0afcaf8b1c /apps/plugins/databox | |
parent | 3176a665d85de39715ee096a1989f4daedc4635a (diff) |
Hopefully this fixes red..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6436 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/databox')
-rw-r--r-- | apps/plugins/databox/databox.c | 12 |
1 files changed, 10 insertions, 2 deletions
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); |