diff options
Diffstat (limited to 'uisimulator/x11')
-rw-r--r-- | uisimulator/x11/lcd-x11.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uisimulator/x11/lcd-x11.c b/uisimulator/x11/lcd-x11.c index 7547008172..c28a2b9528 100644 --- a/uisimulator/x11/lcd-x11.c +++ b/uisimulator/x11/lcd-x11.c | |||
@@ -115,7 +115,7 @@ void lcd_update_rect(int x_start, int y_start, | |||
115 | if(ymax >= LCD_HEIGHT/8) | 115 | if(ymax >= LCD_HEIGHT/8) |
116 | ymax = LCD_HEIGHT/8-1; | 116 | ymax = LCD_HEIGHT/8-1; |
117 | 117 | ||
118 | for(; yline<ymax; yline++) { | 118 | for(; yline<=ymax; yline++) { |
119 | y = yline * 8; | 119 | y = yline * 8; |
120 | for(x=x_start; x<xmax; x++) { | 120 | for(x=x_start; x<xmax; x++) { |
121 | if(lcd_framebuffer[x][yline] || lcd_framebuffer_copy[x][yline]) { | 121 | if(lcd_framebuffer[x][yline] || lcd_framebuffer_copy[x][yline]) { |