ICU-2405 Need to pass &dx[dyStart], not dx, to ExtTextOut!

X-SVN-Rev: 11241
This commit is contained in:
Eric Mader 2003-03-04 19:57:40 +00:00
parent 6c81c154d1
commit e6d6dc6511

View File

@ -87,7 +87,7 @@ void GDISurface::drawGlyphs(const LEFontInstance *font, const LEGlyphID *glyphs,
}
ExtTextOut(fHdc, x + (le_int32) xOffset, y + (le_int32) yOffset - font->getAscent(), ETO_CLIPPED | ETO_GLYPH_INDEX, &clip,
&ttGlyphs[dyStart], dyEnd - dyStart, (INT *) dx);
&ttGlyphs[dyStart], dyEnd - dyStart, (INT *) &dx[dyStart]);
dyStart = dyEnd;
}