diff --git a/src/sysinput.c b/src/sysinput.c index 9419d5d..a616063 100644 --- a/src/sysinput.c +++ b/src/sysinput.c @@ -117,7 +117,7 @@ static BOOL poll_touchscreen(void) touch_down_y = touch_y; touch_down_time = now; } - else if (touch_nextmsg = WM_TOUCHUP) + else if (touch_nextmsg == WM_TOUCHUP) { if ( ((now - touch_down_time) <= Gconfig.click_time) && (ABS((INT32)touch_x - (INT32)touch_down_x) <= Gconfig.click_radius)