summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/chopper.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/plugins/chopper.c b/apps/plugins/chopper.c
index 88da1c6fac..66fa62dfdd 100644
--- a/apps/plugins/chopper.c
+++ b/apps/plugins/chopper.c
@@ -37,6 +37,7 @@ PLUGIN_HEADER
37#define QUIT BUTTON_OFF 37#define QUIT BUTTON_OFF
38#define ACTION BUTTON_UP 38#define ACTION BUTTON_UP
39#define ACTION2 BUTTON_SELECT 39#define ACTION2 BUTTON_SELECT
40#define ACTIONTEXT "SELECT"
40 41
41#elif (CONFIG_KEYPAD == IPOD_3G_PAD) || \ 42#elif (CONFIG_KEYPAD == IPOD_3G_PAD) || \
42 (CONFIG_KEYPAD == IPOD_4G_PAD) 43 (CONFIG_KEYPAD == IPOD_4G_PAD)
@@ -492,9 +493,9 @@ static void chopKillPlayer(void)
492 493
493 rb->lcd_getstringsize("Game Over", &w, NULL); 494 rb->lcd_getstringsize("Game Over", &w, NULL);
494 rb->lcd_putsxy(LCD_WIDTH/2 - w/2 ,LCD_HEIGHT/2 - 20, "Game Over"); 495 rb->lcd_putsxy(LCD_WIDTH/2 - w/2 ,LCD_HEIGHT/2 - 20, "Game Over");
495 rb->snprintf(text, sizeof(text), "Press %s to continue", ACTIONTEXT); 496 rb->lcd_getstringsize("Press " ACTIONTEXT " to continue", &w, NULL);
496 rb->lcd_getstringsize(text, &w, NULL); 497 rb->lcd_putsxy(LCD_WIDTH/2 - w/2 ,LCD_HEIGHT/2,
497 rb->lcd_putsxy(LCD_WIDTH/2 - w/2 ,LCD_HEIGHT/2, text); 498 "Press " ACTIONTEXT " to continue");
498 rb->lcd_update(); 499 rb->lcd_update();
499 500
500 rb->lcd_set_drawmode(DRMODE_SOLID); 501 rb->lcd_set_drawmode(DRMODE_SOLID);