diff options
Diffstat (limited to 'uxa/uxa-glyphs.c')
-rw-r--r-- | uxa/uxa-glyphs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/uxa/uxa-glyphs.c b/uxa/uxa-glyphs.c index 63a0270b..8d44090c 100644 --- a/uxa/uxa-glyphs.c +++ b/uxa/uxa-glyphs.c @@ -800,7 +800,7 @@ uxa_glyphs_to_dst(CARD8 op, glyph->info.height); } else { BoxPtr rects = REGION_RECTS(pDst->pCompositeClip); - do { + while (nrect--) { int x1 = x - glyph->info.x, dx = 0; int y1 = y - glyph->info.y, dy = 0; int x2 = x1 + glyph->info.width; @@ -823,7 +823,7 @@ uxa_glyphs_to_dst(CARD8 op, x2 - x1, y2 - y1); } rects++; - } while (--nrect); + } } next_glyph: |