From b280862f83997ebfd874b76901e8f3ba413d9994 Mon Sep 17 00:00:00 2001 From: "gtm.daemon" Date: Wed, 27 Aug 2014 15:00:08 +0000 Subject: CGSizeZero is a constant, not a function. DELTA=1 (0 added, 0 deleted, 1 changed) DELTA_BY_EXTENSION=m=1 --- iPhone/GTMFadeTruncatingLabel.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'iPhone') 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 -- cgit v1.2.3