summaryrefslogtreecommitdiffstats
path: root/uisimulator/x11/lcd-x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/x11/lcd-x11.c')
-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