summaryrefslogtreecommitdiffstats
path: root/apps/plugins/cube.c
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-08-28 21:46:45 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-08-28 21:46:45 +0000
commitab9fd1840b8025336081bd72fb9dbaea7b9909dd (patch)
tree4c410bffcf1a9de2ce55a59bef45e3ecfa183a62 /apps/plugins/cube.c
parent8418a2c94a97da1d6f42f21dc348aadd1e177d77 (diff)
downloadrockbox-ab9fd1840b8025336081bd72fb9dbaea7b9909dd.tar.gz
rockbox-ab9fd1840b8025336081bd72fb9dbaea7b9909dd.tar.bz2
rockbox-ab9fd1840b8025336081bd72fb9dbaea7b9909dd.zip
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/cube.c')
-rw-r--r--apps/plugins/cube.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/plugins/cube.c b/apps/plugins/cube.c
index 7dec822d56..88036ed661 100644
--- a/apps/plugins/cube.c
+++ b/apps/plugins/cube.c
@@ -701,10 +701,9 @@ enum plugin_status plugin_start(const void* parameter)
if (t_disp == DISP_TIME)
{
rb->lcd_puts(5, 0, axes[curr].label);
- rb->snprintf(buffer, sizeof(buffer), "%d %c",
+ rb->lcd_putsf(5, 1, "%d %c",
paused ? axes[curr].angle : axes[curr].speed,
highspeed ? 'H' : ' ');
- rb->lcd_puts(5, 1, buffer);
}
t_disp--;
if (t_disp == 0)