Index: gdi/gdi32/objects/painting.c =================================================================== --- gdi/gdi32/objects/painting.c (revision 72523) +++ gdi/gdi32/objects/painting.c (working copy) @@ -25,39 +25,9 @@ _In_ INT y, _Out_opt_ LPPOINT ppt) { - PDC_ATTR pdcattr; - HANDLE_METADC(BOOL, MoveTo, FALSE, hdc, x, y, ppt); - /* Get the DC attribute */ - pdcattr = GdiGetDcAttr(hdc); - if (pdcattr == NULL) - { - SetLastError(ERROR_INVALID_PARAMETER); - return FALSE; - } - - if (ppt) - { - if ( pdcattr->ulDirty_ & DIRTY_PTLCURRENT ) // Double hit! - { - ppt->x = pdcattr->ptfxCurrent.x; // ret prev before change. - ppt->y = pdcattr->ptfxCurrent.y; - DPtoLP (hdc, ppt, 1); // reconvert back. - } - else - { - ppt->x = pdcattr->ptlCurrent.x; - ppt->y = pdcattr->ptlCurrent.y; - } - } - - pdcattr->ptlCurrent.x = x; - pdcattr->ptlCurrent.y = y; - - pdcattr->ulDirty_ &= ~DIRTY_PTLCURRENT; - pdcattr->ulDirty_ |= ( DIRTY_PTFXCURRENT|DIRTY_STYLESTATE); // Set dirty - return TRUE; + return NtGdiMoveTo(hdc, x, y, ppt); } Index: gdi/ntgdi/line.c =================================================================== --- gdi/ntgdi/line.c (revision 72523) +++ gdi/ntgdi/line.c (working copy) @@ -592,7 +592,7 @@ pdc = DC_LockDc(hdc); if (!pdc) return FALSE; - Ret = IntGdiMoveToEx(pdc, x, y, &Point, TRUE); + Ret = IntGdiMoveToEx(pdc, x, y, &Point, FALSE); if (Ret && pptOut) {