aboutsummaryrefslogtreecommitdiff
path: root/iPhone
diff options
context:
space:
mode:
Diffstat (limited to 'iPhone')
-rwxr-xr-xiPhone/GTMFadeTruncatingLabel.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/iPhone/GTMFadeTruncatingLabel.m b/iPhone/GTMFadeTruncatingLabel.m
index 5ca6d25..58f0621 100755
--- a/iPhone/GTMFadeTruncatingLabel.m
+++ b/iPhone/GTMFadeTruncatingLabel.m
@@ -53,7 +53,7 @@
// |sizeWithFont:| is deprecated in iOS 7, replaced by |sizeWithAttributes:|
CGSize size = [self.text sizeWithFont:self.font];
#else
- CGSize size = CGSizeZero();
+ CGSize size = CGSizeZero;
if (self.font) {
size = [self.text sizeWithAttributes:@{NSFontAttributeName:self.font}];
// sizeWithAttributes: may return fractional values, so ceil the width and