diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2004-06-16 22:16:50 +0000 |
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2004-06-16 22:16:50 +0000 |
| commit | 4a55d16282cd96bd6405dbb52b8e5323a3f2cc53 (patch) | |
| tree | b0e4c46629a4b9e4f164b30e92f581e4fb5f21e5 /apps/plugins | |
| parent | ce60003ebb682e06335796ddbeb2754c11b30192 (diff) | |
| download | rockbox-4a55d16282cd96bd6405dbb52b8e5323a3f2cc53.zip rockbox-4a55d16282cd96bd6405dbb52b8e5323a3f2cc53.tar.gz rockbox-4a55d16282cd96bd6405dbb52b8e5323a3f2cc53.tar.bz2 rockbox-4a55d16282cd96bd6405dbb52b8e5323a3f2cc53.tar.xz | |
and use snprintf() from the plugin API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4765 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
| -rw-r--r-- | apps/plugins/pong.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/pong.c b/apps/plugins/pong.c index 18fdcad..882c1cd 100644 --- a/apps/plugins/pong.c +++ b/apps/plugins/pong.c @@ -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); } |