From 4475524e5941a77669d68510f3ffff99aa3ffbd5 Mon Sep 17 00:00:00 2001 From: Gijs Vermeulen Date: Wed, 13 May 2020 17:27:35 +0200 Subject: [PATCH] winemac: Add default case in isMouseMoveEventType. Signed-off-by: Gijs Vermeulen Signed-off-by: Ken Thomases Signed-off-by: Alexandre Julliard --- dlls/winemac.drv/cocoa_app.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/winemac.drv/cocoa_app.m b/dlls/winemac.drv/cocoa_app.m index 87a73b6da92..8e66721da11 100644 --- a/dlls/winemac.drv/cocoa_app.m +++ b/dlls/winemac.drv/cocoa_app.m @@ -1229,9 +1229,9 @@ - (BOOL) isMouseMoveEventType:(CGEventType)type case kCGEventRightMouseDragged: case kCGEventOtherMouseDragged: return TRUE; + default: + return FALSE; } - - return FALSE; } - (int) warpsFinishedByEventTime:(CGEventTimestamp)eventTime location:(CGPoint)eventLocation