summaryrefslogtreecommitdiff
path: root/uisimulator/sdl/button.c
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/sdl/button.c')
-rw-r--r--uisimulator/sdl/button.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uisimulator/sdl/button.c b/uisimulator/sdl/button.c
index 0405ef0d1e..765bc0608e 100644
--- a/uisimulator/sdl/button.c
+++ b/uisimulator/sdl/button.c
@@ -1295,7 +1295,7 @@ void mouse_tick_task(void)
1295 x -= UI_LCD_POSX; 1295 x -= UI_LCD_POSX;
1296 y -= UI_LCD_POSY; 1296 y -= UI_LCD_POSY;
1297 1297
1298 if(x<0 || y<0 || x>UI_LCD_WIDTH || y>UI_LCD_HEIGHT) 1298 if(x<0 || y<0 || x>SIM_LCD_WIDTH || y>SIM_LCD_HEIGHT)
1299 return; 1299 return;
1300 } 1300 }
1301 1301