summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorZakk Roberts <midkay@rockbox.org>2007-02-16 07:21:47 +0000
committerZakk Roberts <midkay@rockbox.org>2007-02-16 07:21:47 +0000
commita5014b9c593b6a95e0d75634e85e39da181b6784 (patch)
tree7f2896cf1e2bfb762f0e6757b888a203f973f2a7 /apps
parentd2e47ee0fde5b1a14fe1ad95578da14a4ec7c26e (diff)
downloadrockbox-a5014b9c593b6a95e0d75634e85e39da181b6784.tar.gz
rockbox-a5014b9c593b6a95e0d75634e85e39da181b6784.tar.bz2
rockbox-a5014b9c593b6a95e0d75634e85e39da181b6784.zip
Argh, previous 'fix' was not in fact the problem. *Now* it's fixed.. I hope.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12329 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-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
#define QUIT BUTTON_OFF
#define ACTION BUTTON_UP
#define ACTION2 BUTTON_SELECT
+#define ACTIONTEXT "SELECT"
#elif (CONFIG_KEYPAD == IPOD_3G_PAD) || \
(CONFIG_KEYPAD == IPOD_4G_PAD)
@@ -492,9 +493,9 @@ static void chopKillPlayer(void)
rb->lcd_getstringsize("Game Over", &w, NULL);
rb->lcd_putsxy(LCD_WIDTH/2 - w/2 ,LCD_HEIGHT/2 - 20, "Game Over");
- rb->snprintf(text, sizeof(text), "Press %s to continue", ACTIONTEXT);
- rb->lcd_getstringsize(text, &w, NULL);
- rb->lcd_putsxy(LCD_WIDTH/2 - w/2 ,LCD_HEIGHT/2, text);
+ rb->lcd_getstringsize("Press " ACTIONTEXT " to continue", &w, NULL);
+ rb->lcd_putsxy(LCD_WIDTH/2 - w/2 ,LCD_HEIGHT/2,
+ "Press " ACTIONTEXT " to continue");
rb->lcd_update();
rb->lcd_set_drawmode(DRMODE_SOLID);