diff options
author | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2014-08-27 15:00:08 +0000 |
---|---|---|
committer | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2014-08-27 15:00:08 +0000 |
commit | b280862f83997ebfd874b76901e8f3ba413d9994 (patch) | |
tree | 690f2773832c573637d66617c69591c17cd3fb1d /iPhone | |
parent | 3f51f8dc7f6193c7e9610e49b0853856645c2656 (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-x | iPhone/GTMFadeTruncatingLabel.m | 2 |
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 |