Skip to content

Commit

Permalink
Fixed compile issue in iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Viktor Lidholt authored and lhunath committed Apr 5, 2012
1 parent 16d868f commit 274d313
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cocos2d/CCLabelTTF.m
Expand Up @@ -213,7 +213,7 @@ -(CGSize) dimensions
return dimensions_;
}

-(void) setAlignment:(NSTextAlignment)alignment
-(void) setAlignment:(CCTextAlignment)alignment
{
if (alignment != alignment_)
{
Expand All @@ -224,7 +224,7 @@ -(void) setAlignment:(NSTextAlignment)alignment
}
}

- (NSTextAlignment) alignment
- (CCTextAlignment) alignment
{
return alignment_;
}
Expand Down

0 comments on commit 274d313

Please sign in to comment.