summaryrefslogtreecommitdiff
path: root/apps/plugins/bubbles.c
diff options
context:
space:
mode:
authorTomer Shalev <shalev.tomer@gmail.com>2009-12-12 07:27:36 +0000
committerTomer Shalev <shalev.tomer@gmail.com>2009-12-12 07:27:36 +0000
commit17e054a9feae991626f29842303841e0b9d09381 (patch)
tree14db6631ba1302e100e6a86f0a30b62fd55b913a /apps/plugins/bubbles.c
parentc9a11d24eba931017094908a0cf23c8a5b2d9473 (diff)
downloadrockbox-17e054a9feae991626f29842303841e0b9d09381.zip
rockbox-17e054a9feae991626f29842303841e0b9d09381.tar.gz
rockbox-17e054a9feae991626f29842303841e0b9d09381.tar.bz2
rockbox-17e054a9feae991626f29842303841e0b9d09381.tar.xz
Use positive logic in #ifdef hell
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23939 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/bubbles.c')
-rw-r--r--apps/plugins/bubbles.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/bubbles.c b/apps/plugins/bubbles.c
index 3197a45..7bde847 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)