- Fix locking.

svn path=/trunk/; revision=68583
This commit is contained in:
James Tabor 2015-07-31 06:55:22 +00:00
parent 6fe69964e1
commit 2ce4504816

View file

@ -60,13 +60,16 @@ GreMoveTo( HDC hdc,
INT y,
LPPOINT pptOut)
{
BOOL Ret;
PDC dc;
if (!(dc = DC_LockDc(hdc)))
{
EngSetLastError(ERROR_INVALID_HANDLE);
return FALSE;
}
return IntGdiMoveToEx(dc, x, y, pptOut, TRUE);
Ret = IntGdiMoveToEx(dc, x, y, pptOut, TRUE);
DC_UnlockDc(dc);
return Ret;
}
// Should use Fx in pt