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
This commit is contained in:
Kevin Ferrare 2007-10-26 16:44:52 +00:00
parent 2531d2a19c
commit a63181c1d1

View file

@ -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();
}