From 4162e6fbe3f934ec166d7fb615df79bcb6d87521 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20Wallm=C3=A9nius?= Date: Tue, 26 Aug 2008 09:35:30 +0000 Subject: [PATCH] =?UTF-8?q?FS#9326=20grammar=20fix=20by=20Cl=C3=A9ment=20P?= =?UTF-8?q?it--Claudel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18343 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/xobox.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/plugins/xobox.c b/apps/plugins/xobox.c index 8490d6bae6..f5d10578cd 100644 --- a/apps/plugins/xobox.c +++ b/apps/plugins/xobox.c @@ -508,7 +508,8 @@ static void refresh_board (void) rb->lcd_putsxy (BOARD_X + CUBE_SIZE * BOARD_W - 24, BOARD_Y, str); rb->snprintf (str, sizeof (str), "Score: %d", player.score); rb->lcd_putsxy (BOARD_X, BOARD_Y + CUBE_SIZE * BOARD_H - 8, str); - rb->snprintf (str, sizeof (str), "%d Lives", player.lives); + rb->snprintf (str, sizeof (str), + (player.lives != 1) ? "%d Lives" : "%d Life", player.lives); #if LCD_DEPTH>=2 rb->lcd_putsxy (BOARD_X + CUBE_SIZE * BOARD_W - 60, BOARD_Y + CUBE_SIZE * BOARD_H - 8, str);