diff options
-rw-r--r-- | apps/plugins/chopper.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/plugins/chopper.c b/apps/plugins/chopper.c index 08124681fb..381b54a7e2 100644 --- a/apps/plugins/chopper.c +++ b/apps/plugins/chopper.c | |||
@@ -76,8 +76,8 @@ PLUGIN_HEADER | |||
76 | #elif CONFIG_KEYPAD == ONDIO_PAD | 76 | #elif CONFIG_KEYPAD == ONDIO_PAD |
77 | #define QUIT BUTTON_OFF | 77 | #define QUIT BUTTON_OFF |
78 | #define ACTION BUTTON_UP | 78 | #define ACTION BUTTON_UP |
79 | #define ACTION BUTTON_MENU | 79 | #define ACTION2 BUTTON_MENU |
80 | #define ACTIONTEXT "RIGHT" | 80 | #define ACTIONTEXT "UP" |
81 | 81 | ||
82 | #else | 82 | #else |
83 | #error Unsupported keypad | 83 | #error Unsupported keypad |
@@ -461,7 +461,7 @@ static int chopParticleOffscreen(struct CParticle *mParticle) | |||
461 | 461 | ||
462 | static void chopKillPlayer(void) | 462 | static void chopKillPlayer(void) |
463 | { | 463 | { |
464 | int w, i, button; | 464 | int i, button; |
465 | 465 | ||
466 | for (i = 0; i < NUMBER_OF_PARTICLES; i++) { | 466 | for (i = 0; i < NUMBER_OF_PARTICLES; i++) { |
467 | mParticles[i].bIsActive = 0; | 467 | mParticles[i].bIsActive = 0; |
@@ -480,7 +480,6 @@ static void chopKillPlayer(void) | |||
480 | 480 | ||
481 | if (score > highscore) { | 481 | if (score > highscore) { |
482 | char scoretext[30]; | 482 | char scoretext[30]; |
483 | int w; | ||
484 | highscore = score; | 483 | highscore = score; |
485 | rb->snprintf(scoretext, sizeof(scoretext), "New High Score: %d", | 484 | rb->snprintf(scoretext, sizeof(scoretext), "New High Score: %d", |
486 | highscore); | 485 | highscore); |