diff options
| author | Rafaël Carré <rafael.carre@gmail.com> | 2010-08-28 21:46:45 +0000 |
|---|---|---|
| committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-08-28 21:46:45 +0000 |
| commit | ab9fd1840b8025336081bd72fb9dbaea7b9909dd (patch) | |
| tree | 4c410bffcf1a9de2ce55a59bef45e3ecfa183a62 /apps/plugins/flipit.c | |
| parent | 8418a2c94a97da1d6f42f21dc348aadd1e177d77 (diff) | |
| download | rockbox-ab9fd1840b8025336081bd72fb9dbaea7b9909dd.zip rockbox-ab9fd1840b8025336081bd72fb9dbaea7b9909dd.tar.gz rockbox-ab9fd1840b8025336081bd72fb9dbaea7b9909dd.tar.bz2 rockbox-ab9fd1840b8025336081bd72fb9dbaea7b9909dd.tar.xz | |
plugins: use lcd_putsf/lcd_putsxyf
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27926 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/flipit.c')
| -rw-r--r-- | apps/plugins/flipit.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/plugins/flipit.c b/apps/plugins/flipit.c index 44ad011..2bc4a1f 100644 --- a/apps/plugins/flipit.c +++ b/apps/plugins/flipit.c @@ -496,11 +496,8 @@ static void draw_cursor(void) /* draw the info panel ... duh */ static void draw_info_panel(void) { - char s[16]; - rb->lcd_puts( 6, 0, "Flips" ); - rb->snprintf( s, sizeof(s), "%d", moves ); - rb->lcd_puts( 6, 1, s ); + rb->lcd_putsf( 6, 1, "%d", moves ); } #endif /* LCD */ |