From 17e054a9feae991626f29842303841e0b9d09381 Mon Sep 17 00:00:00 2001 From: Tomer Shalev Date: Sat, 12 Dec 2009 07:27:36 +0000 Subject: Use positive logic in #ifdef hell git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23939 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/bubbles.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/plugins/bubbles.c b/apps/plugins/bubbles.c index 3197a45eb8..7bde847077 100644 --- a/apps/plugins/bubbles.c +++ b/apps/plugins/bubbles.c @@ -2308,11 +2308,11 @@ static int bubbles_handlebuttons(struct game_context* bb, bool animblock, int buttonres; long start; const struct button_mapping *plugin_contexts[] -#if (CONFIG_KEYPAD != SANSA_E200_PAD) && \ - (CONFIG_KEYPAD != SANSA_FUZE_PAD) - = {generic_left_right_fire,generic_actions}; -#else +#if (CONFIG_KEYPAD == SANSA_E200_PAD) || \ + (CONFIG_KEYPAD == SANSA_FUZE_PAD) = {generic_directions,generic_actions}; +#else + = {generic_left_right_fire,generic_actions}; #endif if (timeout < 0) -- cgit v1.2.3