aboutsummaryrefslogtreecommitdiff
path: root/iPhone
diff options
context:
space:
mode:
authorGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2014-08-27 15:00:08 +0000
committerGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2014-08-27 15:00:08 +0000
commitb280862f83997ebfd874b76901e8f3ba413d9994 (patch)
tree690f2773832c573637d66617c69591c17cd3fb1d /iPhone
parent3f51f8dc7f6193c7e9610e49b0853856645c2656 (diff)
CGSizeZero is a constant, not a function.
DELTA=1 (0 added, 0 deleted, 1 changed) DELTA_BY_EXTENSION=m=1
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