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/robotfindskitten.c | |
parent | 8418a2c94a97da1d6f42f21dc348aadd1e177d77 (diff) | |
download | rockbox-ab9fd1840b8025336081bd72fb9dbaea7b9909dd.tar.gz 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/robotfindskitten.c')
-rw-r--r-- | apps/plugins/robotfindskitten.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/plugins/robotfindskitten.c b/apps/plugins/robotfindskitten.c index 003087b5c3..8426f35850 100644 --- a/apps/plugins/robotfindskitten.c +++ b/apps/plugins/robotfindskitten.c | |||
@@ -598,11 +598,9 @@ int screen[X_MAX + 1][Y_MAX + 1]; | |||
598 | * | 598 | * |
599 | *****************************************************************************/ | 599 | *****************************************************************************/ |
600 | 600 | ||
601 | static void drawchar(int x, int y, char c) | 601 | static inline void drawchar(int x, int y, char c) |
602 | { | 602 | { |
603 | char str[2]; | 603 | rb->lcd_putsxyf(x*SYSFONT_WIDTH, y*SYSFONT_HEIGHT, "%c", c); |
604 | rb->snprintf(str, sizeof(str), "%c", c); | ||
605 | rb->lcd_putsxy(x*SYSFONT_WIDTH, y*SYSFONT_HEIGHT, str); | ||
606 | } | 604 | } |
607 | 605 | ||
608 | static void draw(struct screen_object o) | 606 | static void draw(struct screen_object o) |