summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2008-08-26 09:35:30 +0000
committerNils Wallménius <nils@rockbox.org>2008-08-26 09:35:30 +0000
commit4162e6fbe3f934ec166d7fb615df79bcb6d87521 (patch)
treeeb2379a292ea6dda413a1cc86d9c1d497c57a900
parent1f336c7ef18e5537a7f58b6b93b55f5785788945 (diff)
FS#9326 grammar fix by Clément Pit--Claudel
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18343 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/xobox.c3
1 files changed, 2 insertions, 1 deletions
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);