summaryrefslogtreecommitdiff
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
parent2531d2a19c6745b6bf70119a95ce141d94dd57b9 (diff)
downloadrockbox-a63181c1d12ee9a5b658638008948e295617f92d.tar.gz
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
-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){
163 start=end; 163 start=end;
164 } 164 }
165 } 165 }
166 rb->snprintf(buffer, PRINT_BUFFER_LENGTH, "Total: %4d", dice->total); 166 rb->snprintf(buffer, PRINT_BUFFER_LENGTH, "Total: %d", dice->total);
167 display->puts(0, current_row, buffer); 167 display->puts_scroll(0, current_row, buffer);
168 display->update(); 168 display->update();
169} 169}
170 170