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:
Daniel Stenberg 2004-06-16 22:16:50 +00:00
parent ce60003ebb
commit 4a55d16282

View file

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