Skip to content

Commit

Permalink
indent
Browse files Browse the repository at this point in the history
  • Loading branch information
AngelkPetkov committed Jun 24, 2016
1 parent 7210de3 commit fced69a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions iphone/Classes/TiUILabel.m
Original file line number Diff line number Diff line change
Expand Up @@ -436,10 +436,10 @@ -(void)setColor_:(id)color
-(void)setEllipsize_:(id)value
{
ENSURE_SINGLE_ARG(value, NSNumber);
if ([TiUtils intValue:value] == 1) {
[[self label] setLineBreakMode:NSLineBreakByCharWrapping];
return;
}
if ([TiUtils intValue:value] == 1) {
[[self label] setLineBreakMode:NSLineBreakByCharWrapping];
return;
}
[[self label] setLineBreakMode:[TiUtils intValue:value]];
}

Expand Down

0 comments on commit fced69a

Please sign in to comment.