and use snprintf() from the plugin API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4765 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ce60003ebb
commit
4a55d16282
1 changed files with 1 additions and 1 deletions
|
@ -263,7 +263,7 @@ void showscore(struct pong *p)
|
|||
{
|
||||
static char buffer[20];
|
||||
|
||||
snprintf(buffer, 20, "%d - %d", p->score[0], p->score[1]);
|
||||
rb->snprintf(buffer, 20, "%d - %d", p->score[0], p->score[1]);
|
||||
rb->lcd_puts(4, 0, buffer);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue