Skip to content

Commit

Permalink
updates _logLines() so it works with iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Evadne Wu committed Feb 7, 2011
1 parent 1b1aa9b commit fb63141
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Frameworks/OmniUI/iPad/OUITextLayout.m
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ static void _logLines(CGContextRef ctx, CTFrameRef frame)

CFRange lineRange = CTLineGetStringRange(line);

DEBUG_TEXT(@"line:%d range:{%d, %d} image bounds:%@ origin:%@", lineIndex, lineRange.location, lineRange.length, NSStringFromRect(imageBounds), NSStringFromPoint(origins[lineIndex]));
DEBUG_TEXT(@"line:%ld range:{%ld, %ld} image bounds:%@ origin:%@", lineIndex, lineRange.location, lineRange.length, NSStringFromCGRect(imageBounds), NSStringFromCGPoint(origins[lineIndex]));
DEBUG_TEXT(@" width:%f ascent:%f descent:%f leading:%f", width, ascent, descent, leading);

minY = MIN(minY, CGRectGetMinY(imageBounds));
Expand Down

0 comments on commit fb63141

Please sign in to comment.