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/pacbox/pacbox.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'apps/plugins/pacbox') diff --git a/apps/plugins/pacbox/pacbox.c b/apps/plugins/pacbox/pacbox.c index db25b1c0f1..e942841a19 100644 --- a/apps/plugins/pacbox/pacbox.c +++ b/apps/plugins/pacbox/pacbox.c @@ -367,7 +367,6 @@ static void stop_sound(void) static int gameProc( void ) { int fps; - char str[80]; int status; long end_time; int frame_counter = 0; @@ -469,9 +468,7 @@ static int gameProc( void ) if (settings.showfps) { fps = (video_frames*HZ*100) / (*rb->current_tick-start_time); - rb->snprintf(str,sizeof(str),"%d.%02d / %d fps ", - fps/100,fps%100,FPS); - rb->lcd_putsxy(0,0,str); + rb->lcd_putsxyf(0,0,"%d.%02d / %d fps ",fps/100,fps%100,FPS); } #if !defined(HAVE_LCD_MODES) || \ -- cgit v1.2.3