From ab9fd1840b8025336081bd72fb9dbaea7b9909dd Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Sat, 28 Aug 2010 21:46:45 +0000 Subject: plugins: use lcd_putsf/lcd_putsxyf git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27926 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/bench_mem_jpeg.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'apps/plugins/bench_mem_jpeg.c') diff --git a/apps/plugins/bench_mem_jpeg.c b/apps/plugins/bench_mem_jpeg.c index 4e24f2a405..184eb0f1c8 100644 --- a/apps/plugins/bench_mem_jpeg.c +++ b/apps/plugins/bench_mem_jpeg.c @@ -54,14 +54,12 @@ const struct custom_format format_null = { .get_size = get_size_null }; -static char output_buf[256]; static int output_y = 0; static int font_h; #define lcd_printf(...) \ do { \ - rb->snprintf(output_buf, sizeof(output_buf), __VA_ARGS__); \ - rb->lcd_putsxy(0, output_y, output_buf); \ + rb->lcd_putsxyf(0, output_y, __VA_ARGS__); \ rb->lcd_update_rect(0, output_y, LCD_WIDTH, font_h); \ output_y += font_h; \ } while (0) -- cgit v1.2.3