Commit c1b86636 authored by Sam Lantinga's avatar Sam Lantinga

Changed so that it's obvious that the two code blocks are related.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404250
parent 437235f9
......@@ -243,7 +243,7 @@ static __inline__ void ConvertNSRect(NSRect *r)
point.x = point.x - rect.origin.x;
point.y = CGDisplayPixelsHigh(kCGDirectMainDisplay) - point.y - rect.origin.y;
} else {
point.x -= window->x;
point.x = point.x - window->x;
point.y = CGDisplayPixelsHigh(kCGDirectMainDisplay) - point.y - window->y;
}
if ( point.x < 0 || point.x >= window->w ||
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment