Commit f3683d3a098570438dd2ace7a6d56862071e30b4

Alex Szpakowski 2019-08-04T23:30:55

macOS: fix a typo in touch handling code.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/video/cocoa/SDL_cocoawindow.m b/src/video/cocoa/SDL_cocoawindow.m
index 0c8557e..a8de968 100644
--- a/src/video/cocoa/SDL_cocoawindow.m
+++ b/src/video/cocoa/SDL_cocoawindow.m
@@ -1190,7 +1190,7 @@ SetWindowStyle(SDL_Window * window, NSUInteger style)
              * relative coordinates via [touch locationInView:].
              */
             if ([touch type] == NSTouchTypeDirect) {
-                return;
+                continue;
             }
         }
 #endif