diff options
author | Björn Stenberg <bjorn@haxx.se> | 2002-05-17 14:38:08 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2002-05-17 14:38:08 +0000 |
commit | 256d24a77581c289d9c620bd79d67237688d5063 (patch) | |
tree | 9334f53518e112dbfb9ca45dc13c3cb6eb75017b /uisimulator | |
parent | 37a7c25caa5ebf4756e72a4b4c0db3293e7e13c9 (diff) |
Added lcd_update() to player lcd_puts()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@619 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r-- | uisimulator/x11/lcd-x11.c | 11 |
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 |