ICU-2405 Need to pass &dx[dyStart], not dx, to ExtTextOut!
X-SVN-Rev: 11241
This commit is contained in:
parent
6c81c154d1
commit
e6d6dc6511
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user