Commit 0d5957dfee6ecd238051e077bbe928b856331c8c

J?rgen P. Tjern? 2014-02-26T16:27:03

Mac: Forgot return value in last commit.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/video/cocoa/SDL_cocoamouse.m b/src/video/cocoa/SDL_cocoamouse.m
index d9292b8..f5b54ed 100644
--- a/src/video/cocoa/SDL_cocoamouse.m
+++ b/src/video/cocoa/SDL_cocoamouse.m
@@ -257,7 +257,7 @@ Cocoa_SetRelativeMouseMode(SDL_bool enabled)
      */
     SDL_WindowData *data = (SDL_WindowData *) window->driverdata;
     if ([data->listener isMoving]) {
-        return;
+        return 0;
     }
 
     CGError result;