From 0cbb4cdf689b5bc2fab0c1014228ebb8aa177a4e Mon Sep 17 00:00:00 2001 From: Antoine Cellerier Date: Fri, 29 Jun 2007 20:12:04 +0000 Subject: Should fix X5/M5 compile errors. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13739 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/sokoban.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/plugins/sokoban.c') diff --git a/apps/plugins/sokoban.c b/apps/plugins/sokoban.c index a9ac711b67..d6777c2dff 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: -- cgit v1.2.3