From 0d6b6ba8b40e952e66844dc00f392fda5cd1a121 Mon Sep 17 00:00:00 2001 From: Amy Gale Ruth Bowersox Date: Wed, 11 Dec 2019 12:07:17 -0700 Subject: [PATCH] minor fix to sysinput --- src/sysinput.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)