summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2002-05-17 14:38:08 +0000
committerBjörn Stenberg <bjorn@haxx.se>2002-05-17 14:38:08 +0000
commit256d24a77581c289d9c620bd79d67237688d5063 (patch)
tree9334f53518e112dbfb9ca45dc13c3cb6eb75017b
parent37a7c25caa5ebf4756e72a4b4c0db3293e7e13c9 (diff)
downloadrockbox-256d24a77581c289d9c620bd79d67237688d5063.tar.gz
rockbox-256d24a77581c289d9c620bd79d67237688d5063.zip
Added lcd_update() to player lcd_puts()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@619 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--uisimulator/x11/lcd-x11.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/uisimulator/x11/lcd-x11.c b/uisimulator/x11/lcd-x11.c
index 9a27a79ccd..bbec13fc75 100644
--- a/uisimulator/x11/lcd-x11.c
+++ b/uisimulator/x11/lcd-x11.c
@@ -111,15 +111,16 @@ void lcd_update (void)
/* simulation layer for charcells */
void lcd_clear_display(void)
{
- sim_lcd_clear_display();
+ sim_lcd_clear_display();
}
void lcd_puts(int x, int y, char *string)
{
- char buffer[12];
- strncpy(buffer, string, 11);
- buffer[11]=0;
+ char buffer[12];
+ strncpy(buffer, string, 11);
+ buffer[11]=0;
- sim_lcd_puts(x, y, buffer, 0);
+ sim_lcd_puts(x, y, buffer, 0);
+ lcd_update();
}
#endif