Permalink
Browse files

Shut up a warning.

  • Loading branch information...
1 parent e45002e commit 17f74b242aa3e9ba6b91bd181d3b0b56b38a977c @uliwitness committed Mar 31, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 NSStringDrawing+SizeWithRect.m
@@ -41,7 +41,7 @@ -(NSSize) sizeWithRect: (NSRect)box
[layoutManager release];
[textContainer setContainerSize: NSMakeSize(box.size.width, FLT_MAX)];
- (NSRange) [layoutManager glyphRangeForTextContainer: textContainer]; // Cause re-layout.
+ [layoutManager glyphRangeForTextContainer: textContainer]; // Cause re-layout.
NSRect neededBox = [layoutManager usedRectForTextContainer: textContainer];
[textStorage release];
@@ -65,7 +65,7 @@ -(NSSize) sizeWithRect: (NSRect)box attributes: (NSDictionary*)attrs
[layoutManager release];
[textContainer setContainerSize: NSMakeSize(box.size.width, FLT_MAX)];
- (NSRange) [layoutManager glyphRangeForTextContainer: textContainer]; // Cause re-layout.
+ [layoutManager glyphRangeForTextContainer: textContainer]; // Cause re-layout.
NSRect neededBox = [layoutManager usedRectForTextContainer: textContainer];
[textStorage release];

0 comments on commit 17f74b2

Please sign in to comment.