summaryrefslogtreecommitdiffstats
path: root/apps/plugins/dice.c
diff options
context:
space:
mode:
authorKevin Ferrare <kevin@rockbox.org>2007-10-26 16:44:52 +0000
committerKevin Ferrare <kevin@rockbox.org>2007-10-26 16:44:52 +0000
commita63181c1d12ee9a5b658638008948e295617f92d (patch)
tree8a5aec58fb02ff43b978d35c3c85f80446d9c558 /apps/plugins/dice.c
parent2531d2a19c6745b6bf70119a95ce141d94dd57b9 (diff)
downloadrockbox-a63181c1d12ee9a5b658638008948e295617f92d.tar.gz
rockbox-a63181c1d12ee9a5b658638008948e295617f92d.tar.bz2
rockbox-a63181c1d12ee9a5b658638008948e295617f92d.zip
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
Diffstat (limited to 'apps/plugins/dice.c')
-rw-r--r--apps/plugins/dice.c4
1 files 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();
}