summaryrefslogtreecommitdiff
path: root/apps/plugins
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
parentc9a11d24eba931017094908a0cf23c8a5b2d9473 (diff)
downloadrockbox-17e054a9feae991626f29842303841e0b9d09381.tar.gz
rockbox-17e054a9feae991626f29842303841e0b9d09381.zip
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')
-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 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,
2308 int buttonres; 2308 int buttonres;
2309 long start; 2309 long start;
2310 const struct button_mapping *plugin_contexts[] 2310 const struct button_mapping *plugin_contexts[]
2311#if (CONFIG_KEYPAD != SANSA_E200_PAD) && \ 2311#if (CONFIG_KEYPAD == SANSA_E200_PAD) || \
2312 (CONFIG_KEYPAD != SANSA_FUZE_PAD) 2312 (CONFIG_KEYPAD == SANSA_FUZE_PAD)
2313 = {generic_left_right_fire,generic_actions};
2314#else
2315 = {generic_directions,generic_actions}; 2313 = {generic_directions,generic_actions};
2314#else
2315 = {generic_left_right_fire,generic_actions};
2316#endif 2316#endif
2317 2317
2318 if (timeout < 0) 2318 if (timeout < 0)