summaryrefslogtreecommitdiffstats
path: root/apps/plugins/cube.c
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-08-28 21:55:47 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-08-28 21:55:47 +0000
commit502997c0428224e64a7455b47b3d757cdf225939 (patch)
treec9fe8029d4a41dbe99e3663f684160a71ed99cdc /apps/plugins/cube.c
parentb08ad5eb48f2d9370b994e9bb8a4951de6580b81 (diff)
downloadrockbox-502997c0428224e64a7455b47b3d757cdf225939.tar.gz
rockbox-502997c0428224e64a7455b47b3d757cdf225939.tar.bz2
rockbox-502997c0428224e64a7455b47b3d757cdf225939.zip
cube: only needs text buffer on LCD_BITMAP
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27929 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/cube.c')
-rw-r--r--apps/plugins/cube.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/cube.c b/apps/plugins/cube.c
index 88036ed661..853286edb8 100644
--- a/apps/plugins/cube.c
+++ b/apps/plugins/cube.c
@@ -621,7 +621,6 @@ void cleanup(void)
enum plugin_status plugin_start(const void* parameter)
{
- char buffer[30];
int t_disp = 0;
#ifdef USEGSLIB
unsigned char *gbuf;
@@ -686,6 +685,7 @@ enum plugin_status plugin_start(const void* parameter)
#ifdef HAVE_LCD_BITMAP
if (t_disp > 0)
{
+ char buffer[30];
t_disp--;
rb->snprintf(buffer, sizeof(buffer), "%s: %d %s",
axes[curr].label,