aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableTextFieldCell.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-01-09 01:38:23 +0000
committerrowanbeentje <rowan@beent.je>2010-01-09 01:38:23 +0000
commit9004533ba1d84d670a77cbfc9eae401b66e9dd0e (patch)
tree8d16781c788a964e45102b66ffc04b77fa1fb9e9 /Source/SPTableTextFieldCell.m
parentfcb6ce6cbb0bd4179e22a3dd17dd12e4a3529cdd (diff)
downloadsequelpro-9004533ba1d84d670a77cbfc9eae401b66e9dd0e.tar.gz
sequelpro-9004533ba1d84d670a77cbfc9eae401b66e9dd0e.tar.bz2
sequelpro-9004533ba1d84d670a77cbfc9eae401b66e9dd0e.zip
- Upgrade Sequel Pro to be compiled as a 3-way PPC/i386/x86_64 binary for release builds, including a large number of 64bit compatibility upgrades and tweaks
- Upgrade RegexKitLite to 3.3
Diffstat (limited to 'Source/SPTableTextFieldCell.m')
-rw-r--r--Source/SPTableTextFieldCell.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/SPTableTextFieldCell.m b/Source/SPTableTextFieldCell.m
index d08486bb..bcfa0138 100644
--- a/Source/SPTableTextFieldCell.m
+++ b/Source/SPTableTextFieldCell.m
@@ -35,9 +35,9 @@
// Construct and get the sub text attributed string
NSAttributedString *string = [self attributedStringValue];
- int i;
- float maxWidth = cellFrame.size.width;
- float stringWidth = [string size].width;
+ NSInteger i;
+ CGFloat maxWidth = cellFrame.size.width;
+ CGFloat stringWidth = [string size].width;
// Set a right padding
maxWidth -= 5;