summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorAntoine Cellerier <dionoea@videolan.org>2007-06-29 20:12:04 +0000
committerAntoine Cellerier <dionoea@videolan.org>2007-06-29 20:12:04 +0000
commit0cbb4cdf689b5bc2fab0c1014228ebb8aa177a4e (patch)
tree6b9b7b948e789e04b8628f2d5cc7c68fd4fa2cad /apps/plugins
parentec7252c96f71729367ed56d0bf7e6cc45b86419a (diff)
downloadrockbox-0cbb4cdf689b5bc2fab0c1014228ebb8aa177a4e.zip
rockbox-0cbb4cdf689b5bc2fab0c1014228ebb8aa177a4e.tar.gz
rockbox-0cbb4cdf689b5bc2fab0c1014228ebb8aa177a4e.tar.bz2
rockbox-0cbb4cdf689b5bc2fab0c1014228ebb8aa177a4e.tar.xz
Should fix X5/M5 compile errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13739 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/sokoban.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/sokoban.c b/apps/plugins/sokoban.c
index a9ac711..d6777c2 100644
--- a/apps/plugins/sokoban.c
+++ b/apps/plugins/sokoban.c
@@ -1272,6 +1272,7 @@ static bool sokoban_loop(void)
break;
#endif
+#ifdef SOKOBAN_LEVEL_UP
case SOKOBAN_LEVEL_UP:
case SOKOBAN_LEVEL_UP | BUTTON_REPEAT:
/* next level */
@@ -1281,7 +1282,9 @@ static bool sokoban_loop(void)
draw_level();
break;
+#endif
+#ifdef SOKOBAN_LEVEL_DOWN
case SOKOBAN_LEVEL_DOWN:
case SOKOBAN_LEVEL_DOWN | BUTTON_REPEAT:
/* previous level */
@@ -1291,6 +1294,7 @@ static bool sokoban_loop(void)
draw_level();
break;
+#endif
#ifdef SOKOBAN_LEVEL_REPEAT
case SOKOBAN_LEVEL_REPEAT: