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
This commit is contained in:
parent
437235f9d4
commit
c1b86636fe
1 changed files with 1 additions and 1 deletions
|
@ -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 ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue