summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2002-09-09 23:57:00 +0000
committerBjörn Stenberg <bjorn@haxx.se>2002-09-09 23:57:00 +0000
commit3b97474978089403d5718cbd3ead5ff9271bb707 (patch)
tree62d698fcae2215d99e987e31da943f0fbf51f4dc /apps
parentdad31ea86b98f7c4c8a58cf7994c3b44fd62d003 (diff)
downloadrockbox-3b97474978089403d5718cbd3ead5ff9271bb707.tar.gz
rockbox-3b97474978089403d5718cbd3ead5ff9271bb707.zip
lcd_puts() now clears to end-of-line
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2252 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/menu.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/menu.c b/apps/menu.c
index c48b444156..f690a1a381 100644
--- a/apps/menu.c
+++ b/apps/menu.c
@@ -81,9 +81,9 @@ struct menu {
#endif /* HAVE_LCD_BITMAP */
#ifdef HAVE_NEW_CHARCELL_LCD
-#define CURSOR_CHAR "\x7e"
+#define CURSOR_CHAR 0x7e
#else
-#define CURSOR_CHAR "\x89"
+#define CURSOR_CHAR 0x89
#endif
static struct menu menus[MAX_MENUS];
@@ -112,7 +112,7 @@ void put_cursorxy(int x, int y, bool on)
unsigned char cursor[] = { 0x7f, 0x3e, 0x1c, 0x08 };
lcd_bitmap ( cursor, x*6, 12+y*16, 4, 8, true);
#else
- lcd_puts(x, y, CURSOR_CHAR);
+ lcd_putc(x, y, CURSOR_CHAR);
#endif
}
else {
@@ -123,7 +123,7 @@ void put_cursorxy(int x, int y, bool on)
/* player simulator in action */
lcd_clearrect (x*6, 12+y*16, 4, 8);
#else
- lcd_puts(x, y, " ");
+ lcd_putc(x, y, ' ');
#endif
}
}