rename CGSize to NSSize

This commit is contained in:
Huabing.Xu 2014-07-18 16:51:29 +08:00
parent 23db16b0bd
commit 0be2210724
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ static bool _initWithString(const char * text, Device::TextAlign align, const ch
NSMutableString *lineBreak = [[[NSMutableString alloc] init] autorelease];
NSUInteger length = [string length];
NSRange range = NSMakeRange(0, 1);
CGSize textSize;
NSSize textSize;
NSUInteger lastBreakLocation = 0;
NSUInteger insertCount = 0;
for (NSUInteger i = 0; i < length; i++) {