Module: wine Branch: master Commit: 7777a8eaf781b3a2b688db2542f43107af96004c URL: http://source.winehq.org/git/wine.git/?a=commit;h=7777a8eaf781b3a2b688db2542...
Author: Felix Nawothnig flexo@holycrap.org Date: Sat Feb 3 22:04:38 2007 +0100
gdi32: Fix offset calculation in PATH_ExtTextOut for >1 chars.
---
dlls/gdi32/path.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/gdi32/path.c b/dlls/gdi32/path.c index 306ed37..edce62c 100644 --- a/dlls/gdi32/path.c +++ b/dlls/gdi32/path.c @@ -1350,6 +1350,7 @@ BOOL PATH_ExtTextOut(DC *dc, INT x, INT 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
for (idx = 0; idx < count; idx++) { - INT offset = 0, xoff = 0, yoff = 0; GLYPHMETRICS gm; DWORD dwSize; void *outline;