minor fix to sysinput

This commit is contained in:
Amy G. Bowersox 2019-12-11 12:07:17 -07:00
parent 1088f630a0
commit 0d6b6ba8b4

View File

@ -117,7 +117,7 @@ static BOOL poll_touchscreen(void)
touch_down_y = touch_y; touch_down_y = touch_y;
touch_down_time = now; touch_down_time = now;
} }
else if (touch_nextmsg = WM_TOUCHUP) else if (touch_nextmsg == WM_TOUCHUP)
{ {
if ( ((now - touch_down_time) <= Gconfig.click_time) if ( ((now - touch_down_time) <= Gconfig.click_time)
&& (ABS((INT32)touch_x - (INT32)touch_down_x) <= Gconfig.click_radius) && (ABS((INT32)touch_x - (INT32)touch_down_x) <= Gconfig.click_radius)