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.tar.gz rockbox-4a55d16282cd96bd6405dbb52b8e5323a3f2cc53.zip |
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 18fdcad9ae..882c1cda99 100644 --- a/apps/plugins/pong.c +++ b/apps/plugins/pong.c | |||
@@ -263,7 +263,7 @@ void showscore(struct pong *p) | |||
263 | { | 263 | { |
264 | static char buffer[20]; | 264 | static char buffer[20]; |
265 | 265 | ||
266 | snprintf(buffer, 20, "%d - %d", p->score[0], p->score[1]); | 266 | rb->snprintf(buffer, 20, "%d - %d", p->score[0], p->score[1]); |
267 | rb->lcd_puts(4, 0, buffer); | 267 | rb->lcd_puts(4, 0, buffer); |
268 | } | 268 | } |
269 | 269 | ||