mirror of
https://github.com/reactos/reactos.git
synced 2024-06-30 09:50:07 +00:00
[NtGdi]
- Fix locking. svn path=/trunk/; revision=68583
This commit is contained in:
parent
6fe69964e1
commit
2ce4504816
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue