diff options
author | rowanbeentje <rowan@beent.je> | 2010-06-30 23:59:28 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2010-06-30 23:59:28 +0000 |
commit | 59b9ca6b59906438efb240ba8b7cb9ec10fa1929 (patch) | |
tree | b00526feec0c978858c8cedae8ace932483fe551 /Frameworks | |
parent | 219afc56c02b508fbb6d706dfed4e1a1ccc949d4 (diff) | |
download | sequelpro-59b9ca6b59906438efb240ba8b7cb9ec10fa1929.tar.gz sequelpro-59b9ca6b59906438efb240ba8b7cb9ec10fa1929.tar.bz2 sequelpro-59b9ca6b59906438efb240ba8b7cb9ec10fa1929.zip |
- Update localisable strings
- Fix a casting issue preventing release/dist builds
- Remove a line of old debug
Diffstat (limited to 'Frameworks')
-rw-r--r-- | Frameworks/PSMTabBar/PSMTabBarController.m | 2 | ||||
-rw-r--r-- | Frameworks/PSMTabBar/Styles/PSMSequelProTabStyle.m | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/Frameworks/PSMTabBar/PSMTabBarController.m b/Frameworks/PSMTabBar/PSMTabBarController.m index 62e7a818..04e1ec69 100644 --- a/Frameworks/PSMTabBar/PSMTabBarController.m +++ b/Frameworks/PSMTabBar/PSMTabBarController.m @@ -329,8 +329,6 @@ static NSInteger potentialMinimumForArray(NSArray *array, NSInteger minimum) width = [_control cellOptimumWidth]; } - //if ([currentCell isPlaceholder]) width = 1; - width = ceil(width); //check to see if there is not enough space to place all tabs as preferred diff --git a/Frameworks/PSMTabBar/Styles/PSMSequelProTabStyle.m b/Frameworks/PSMTabBar/Styles/PSMSequelProTabStyle.m index e33aeff8..26f8bd9e 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, NSMakeRect(topLeft.x, topLeft.y, topRight.x-topLeft.x, aRect.size.height)); + CGContextClipToRect(context, (CGRect)NSMakeRect(topLeft.x, topLeft.y, topRight.x-topLeft.x, aRect.size.height)); [[NSColor colorWithCalibratedWhite:0.2 alpha:drawAlpha] set]; [outlineBezier moveToPoint:topLeft]; [outlineBezier lineToPoint:topRight]; |