From a63181c1d12ee9a5b658638008948e295617f92d Mon Sep 17 00:00:00 2001 From: Kevin Ferrare Date: Fri, 26 Oct 2007 16:44:52 +0000 Subject: Fixed the Total being out of screen with huge fonts like ter-u32b git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15317 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/dice.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/plugins/dice.c b/apps/plugins/dice.c index 77aa7e04b8..84bd3105dc 100644 --- a/apps/plugins/dice.c +++ b/apps/plugins/dice.c @@ -163,8 +163,8 @@ void dice_print(struct dices* dice, struct screen* display){ start=end; } } - rb->snprintf(buffer, PRINT_BUFFER_LENGTH, "Total: %4d", dice->total); - display->puts(0, current_row, buffer); + rb->snprintf(buffer, PRINT_BUFFER_LENGTH, "Total: %d", dice->total); + display->puts_scroll(0, current_row, buffer); display->update(); } -- cgit v1.2.3