gdi32: Fix offset calculation in PATH_ExtTextOut for >1 chars.

This commit is contained in:
Felix Nawothnig 2007-02-03 22:04:38 +01:00 committed by Alexandre Julliard
parent e915a3cfb1
commit 7777a8eaf7
1 changed files with 1 additions and 1 deletions

View File

@ -1350,6 +1350,7 @@ BOOL PATH_ExtTextOut(DC *dc, INT x, INT y, UINT flags, const RECT *lprc,
LOGFONTW lf;
POINT org;
HDC hdc = dc->hSelf;
INT offset = 0, xoff = 0, yoff = 0;
TRACE("%p, %d, %d, %08x, %s, %s, %d, %p)\n", hdc, x, y, flags,
wine_dbgstr_rect(lprc), debugstr_wn(str, count), count, dx);
@ -1372,7 +1373,6 @@ BOOL PATH_ExtTextOut(DC *dc, INT x, INT y, UINT flags, const RECT *lprc,
for (idx = 0; idx < count; idx++)
{
INT offset = 0, xoff = 0, yoff = 0;
GLYPHMETRICS gm;
DWORD dwSize;
void *outline;