summaryrefslogtreecommitdiff
path: root/apps/plugins/brickmania.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/brickmania.c')
-rw-r--r--apps/plugins/brickmania.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/brickmania.c b/apps/plugins/brickmania.c
index 50ceaa7..2a025d7 100644
--- a/apps/plugins/brickmania.c
+++ b/apps/plugins/brickmania.c
@@ -1573,11 +1573,11 @@ static int brickmania_game_loop(void)
/* write life num */
#if (LCD_WIDTH == 112) && (LCD_HEIGHT == 64)
- rb->snprintf(s, sizeof(s), "L:%d", life);
+ #define LIFE_STR "L:%d"
#else
- rb->snprintf(s, sizeof(s), "Life: %d", life);
+ #define LIFE_STR "Life: %d"
#endif
- rb->lcd_putsxy(0, 0, s);
+ rb->lcd_putsxyf(0, 0, LIFE_STR, life);
#if (LCD_WIDTH == 112) && (LCD_HEIGHT == 64)
rb->snprintf(s, sizeof(s), "L%d", level+1);