mirror of https://github.com/axmolengine/axmol.git
rename CGSize to NSSize
This commit is contained in:
parent
23db16b0bd
commit
0be2210724
|
@ -118,7 +118,7 @@ static bool _initWithString(const char * text, Device::TextAlign align, const ch
|
||||||
NSMutableString *lineBreak = [[[NSMutableString alloc] init] autorelease];
|
NSMutableString *lineBreak = [[[NSMutableString alloc] init] autorelease];
|
||||||
NSUInteger length = [string length];
|
NSUInteger length = [string length];
|
||||||
NSRange range = NSMakeRange(0, 1);
|
NSRange range = NSMakeRange(0, 1);
|
||||||
CGSize textSize;
|
NSSize textSize;
|
||||||
NSUInteger lastBreakLocation = 0;
|
NSUInteger lastBreakLocation = 0;
|
||||||
NSUInteger insertCount = 0;
|
NSUInteger insertCount = 0;
|
||||||
for (NSUInteger i = 0; i < length; i++) {
|
for (NSUInteger i = 0; i < length; i++) {
|
||||||
|
|
Loading…
Reference in New Issue