diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/nsfns.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nsfns.m b/src/nsfns.m index a69e44bb227..7bac2836fed 100644 --- a/src/nsfns.m +++ b/src/nsfns.m | |||
| @@ -2753,7 +2753,7 @@ compute_tip_xy (struct frame *f, | |||
| 2753 | /* Find the screen that pt is on. */ | 2753 | /* Find the screen that pt is on. */ |
| 2754 | for (screen in [NSScreen screens]) | 2754 | for (screen in [NSScreen screens]) |
| 2755 | #ifdef NS_IMPL_COCOA | 2755 | #ifdef NS_IMPL_COCOA |
| 2756 | if (CGRectContainsPoint ([screen frame], pt)) | 2756 | if (CGRectContainsPoint ((CGRect)[screen frame], (CGPoint)pt)) |
| 2757 | #else | 2757 | #else |
| 2758 | if (pt.x >= screen.frame.origin.x | 2758 | if (pt.x >= screen.frame.origin.x |
| 2759 | && pt.x < screen.frame.origin.x + screen.frame.size.width | 2759 | && pt.x < screen.frame.origin.x + screen.frame.size.width |