diff options
| author | Zakk Roberts <midkay@rockbox.org> | 2007-02-16 07:21:47 +0000 |
|---|---|---|
| committer | Zakk Roberts <midkay@rockbox.org> | 2007-02-16 07:21:47 +0000 |
| commit | a5014b9c593b6a95e0d75634e85e39da181b6784 (patch) | |
| tree | 7f2896cf1e2bfb762f0e6757b888a203f973f2a7 /apps/plugins | |
| parent | d2e47ee0fde5b1a14fe1ad95578da14a4ec7c26e (diff) | |
| download | rockbox-a5014b9c593b6a95e0d75634e85e39da181b6784.zip rockbox-a5014b9c593b6a95e0d75634e85e39da181b6784.tar.gz rockbox-a5014b9c593b6a95e0d75634e85e39da181b6784.tar.bz2 rockbox-a5014b9c593b6a95e0d75634e85e39da181b6784.tar.xz | |
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/plugins')
| -rw-r--r-- | apps/plugins/chopper.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/plugins/chopper.c b/apps/plugins/chopper.c index 88da1c6..66fa62d 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); |