summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/brickmania.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/apps/plugins/brickmania.c b/apps/plugins/brickmania.c
index e89eb2d748..916cb01536 100644
--- a/apps/plugins/brickmania.c
+++ b/apps/plugins/brickmania.c
@@ -996,29 +996,27 @@ static int brickmania_game_loop(void)
/* write life num */
#if (LCD_WIDTH == 112) && (LCD_HEIGHT == 64)
rb->snprintf(s, sizeof(s), "L:%d", life);
- rb->lcd_putsxy(0, 0, s);
#else
rb->snprintf(s, sizeof(s), "Life: %d", life);
- rb->lcd_putsxy(2, 2, s);
#endif
+ rb->lcd_putsxy(0, 0, s);
#if (LCD_WIDTH == 112) && (LCD_HEIGHT == 64)
rb->snprintf(s, sizeof(s), "L%d", level+1);
- rb->lcd_getstringsize(s, &sw, NULL);
- rb->lcd_putsxy(LCD_WIDTH-sw, 0, s);
#else
rb->snprintf(s, sizeof(s), "Level %d", level+1);
- rb->lcd_getstringsize(s, &sw, NULL);
- rb->lcd_putsxy(LCD_WIDTH-sw-2, 2, s);
#endif
+ rb->lcd_getstringsize(s, &sw, NULL);
+ rb->lcd_putsxy(LCD_WIDTH-sw, 0, s);
+
if (vscore<score) vscore++;
rb->snprintf(s, sizeof(s), "%d", vscore);
rb->lcd_getstringsize(s, &sw, NULL);
#if (LCD_WIDTH == 112) && (LCD_HEIGHT == 64)
rb->lcd_putsxy(LCD_WIDTH/2-sw/2, 0, s);
#else
- rb->lcd_putsxy(LCD_WIDTH/2-sw/2, 2, s);
+ rb->lcd_putsxy(LCD_WIDTH/2-sw/2, 0, s);
#endif
/* continue game */