Skip to content

Commit

Permalink
fixed a bug uncompressing font shorthand
Browse files Browse the repository at this point in the history
  • Loading branch information
odrobnik committed Oct 1, 2013
1 parent 2e23135 commit e009a79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/Source/DTCSSStylesheet.m
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ - (void)_uncompressShorthands:(NSMutableDictionary *)styles
{
// font-size / line-height

fontSize = [oneComponent substringToIndex:slashIndex-1];
fontSize = [oneComponent substringToIndex:slashIndex];
fontSizeSet = YES;

lineHeight = [oneComponent substringFromIndex:slashIndex+1];
Expand Down

0 comments on commit e009a79

Please sign in to comment.