Changed so that it's obvious that the two code blocks are related.
authorSam Lantinga <slouken@libsdl.org>
Wed, 02 Dec 2009 07:25:06 +0000
changeset 35098fde6aeb58df
parent 3508 a12068b6f44f
child 3510 58cbfa81317a
Changed so that it's obvious that the two code blocks are related.
src/video/cocoa/SDL_cocoawindow.m
     1.1 --- a/src/video/cocoa/SDL_cocoawindow.m	Wed Dec 02 06:10:18 2009 +0000
     1.2 +++ b/src/video/cocoa/SDL_cocoawindow.m	Wed Dec 02 07:25:06 2009 +0000
     1.3 @@ -243,7 +243,7 @@
     1.4          point.x = point.x - rect.origin.x;
     1.5          point.y = CGDisplayPixelsHigh(kCGDirectMainDisplay) - point.y - rect.origin.y;
     1.6      } else {
     1.7 -        point.x -= window->x;
     1.8 +        point.x = point.x - window->x;
     1.9          point.y = CGDisplayPixelsHigh(kCGDirectMainDisplay) - point.y - window->y;
    1.10      }
    1.11      if ( point.x < 0 || point.x >= window->w ||