src/video/cocoa/SDL_cocoamouse.m
changeset 7037 3fedf1f25b94
parent 6950 1ddb72193079
child 7099 54f187c036e2
     1.1 --- a/src/video/cocoa/SDL_cocoamouse.m	Fri Mar 29 21:29:57 2013 -0400
     1.2 +++ b/src/video/cocoa/SDL_cocoamouse.m	Sun Mar 31 12:48:50 2013 -0400
     1.3 @@ -190,8 +190,7 @@
     1.4          result = CGAssociateMouseAndMouseCursorPosition(YES);
     1.5      }
     1.6      if (result != kCGErrorSuccess) {
     1.7 -        SDL_SetError("CGAssociateMouseAndMouseCursorPosition() failed");
     1.8 -        return -1;
     1.9 +        return SDL_SetError("CGAssociateMouseAndMouseCursorPosition() failed");
    1.10      }
    1.11      return 0;
    1.12  }