From 8a9e173830a88ac826449640f4f8b871c6b27cb4 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Thu, 1 Jul 2010 00:02:48 +0000 Subject: - Further improve casting for dist builds --- Frameworks/PSMTabBar/Styles/PSMSequelProTabStyle.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Frameworks/PSMTabBar') diff --git a/Frameworks/PSMTabBar/Styles/PSMSequelProTabStyle.m b/Frameworks/PSMTabBar/Styles/PSMSequelProTabStyle.m index 26f8bd9e..60dfa762 100644 --- a/Frameworks/PSMTabBar/Styles/PSMSequelProTabStyle.m +++ b/Frameworks/PSMTabBar/Styles/PSMSequelProTabStyle.m @@ -618,7 +618,7 @@ } // Set up the line and clipping point - CGContextClipToRect(context, (CGRect)NSMakeRect(topLeft.x, topLeft.y, topRight.x-topLeft.x, aRect.size.height)); + CGContextClipToRect(context, CGRectMake(topLeft.x, topLeft.y, topRight.x-topLeft.x, aRect.size.height)); [[NSColor colorWithCalibratedWhite:0.2 alpha:drawAlpha] set]; [outlineBezier moveToPoint:topLeft]; [outlineBezier lineToPoint:topRight]; -- cgit v1.2.3