From fae8bce84f19654e43025dd84976fedb4f87547e Mon Sep 17 00:00:00 2001 From: Wintermute Date: Sat, 19 Oct 2013 22:24:44 +0200 Subject: [PATCH] Lebensanzeige bei 10 Leben richtig. --- badge/ui/font.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/badge/ui/font.c b/badge/ui/font.c index 8ac8169..4721132 100644 --- a/badge/ui/font.c +++ b/badge/ui/font.c @@ -80,7 +80,7 @@ uint8_t badge_framebuffer_render_text(badge_framebuffer *fb, int8_t pos_x, int8_ } static uint8_t badge_framebuffer_render_number_with_fd(badge_framebuffer *fb, int8_t *pos_x, int8_t pos_y, uint8_t number, FIL *fd) { - if(number > 10) { + if(number >= 10) { badge_framebuffer_render_number_with_fd(fb, pos_x, pos_y, number / 10, fd); } -- 2.20.1