mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
Optimize -usedRectForTextContainer:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19857 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
bc3d8f4913
commit
77a10cb02f
1 changed files with 1 additions and 1 deletions
|
@ -2211,7 +2211,7 @@ forStartOfGlyphRange: (NSRange)glyphRange
|
|||
y0 = NSMinY(lf->used_rect);
|
||||
x1 = NSMaxX(lf->used_rect);
|
||||
y1 = NSMaxY(lf->used_rect);
|
||||
for (; i < tc->num_linefrags; i++, lf++)
|
||||
for (i++, lf++; i < tc->num_linefrags; i++, lf++)
|
||||
{
|
||||
if (NSMinX(lf->used_rect) < x0)
|
||||
x0 = NSMinX(lf->used_rect);
|
||||
|
|
Loading…
Reference in a new issue