Permalink
Browse files

removed comments

  • Loading branch information...
1 parent 02a2881 commit 7e1e05d1ab4fcdc8ccb8e5707b06e1f1cfef1362 @odrobnik odrobnik committed Mar 29, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 Core/Source/DTCoreTextLayoutFrame.m
View
4 Core/Source/DTCoreTextLayoutFrame.m
@@ -455,8 +455,8 @@ - (void)_buildLinesWithTypesetter
case kCTJustifiedTextAlignment:
{
- BOOL isAtEndOfParagraph = (currentParagraphRange.location+currentParagraphRange.length <= lineRange.location+lineRange.length || // JTL 28/June/2012
- [[_attributedStringFragment string] characterAtIndex:lineRange.location+lineRange.length-1]==0x2028); // JTL 28/June/2012
+ BOOL isAtEndOfParagraph = (currentParagraphRange.location+currentParagraphRange.length <= lineRange.location+lineRange.length ||
+ [[_attributedStringFragment string] characterAtIndex:lineRange.location+lineRange.length-1]==0x2028);
// only justify if not last line, not <br>, and if the line width is longer than 60% of the frame
// avoids over-stretching

0 comments on commit 7e1e05d

Please sign in to comment.