aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/PSMTabBar
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-07-01 00:02:48 +0000
committerrowanbeentje <rowan@beent.je>2010-07-01 00:02:48 +0000
commit8a9e173830a88ac826449640f4f8b871c6b27cb4 (patch)
treed41c9bc1eca30ce0e595aeae2b1e7ef9d14e6369 /Frameworks/PSMTabBar
parent59b9ca6b59906438efb240ba8b7cb9ec10fa1929 (diff)
downloadsequelpro-8a9e173830a88ac826449640f4f8b871c6b27cb4.tar.gz
sequelpro-8a9e173830a88ac826449640f4f8b871c6b27cb4.tar.bz2
sequelpro-8a9e173830a88ac826449640f4f8b871c6b27cb4.zip
- Further improve casting for dist builds
Diffstat (limited to 'Frameworks/PSMTabBar')
-rw-r--r--Frameworks/PSMTabBar/Styles/PSMSequelProTabStyle.m2
1 files changed, 1 insertions, 1 deletions
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];