mirror of
https://github.com/reactos/reactos.git
synced 2024-08-25 20:58:53 +00:00
[WIN32K]
Small readability improvement. svn path=/trunk/; revision=50880
This commit is contained in:
parent
d88c6cc49d
commit
b0e397de26
|
@ -2281,13 +2281,15 @@ NtGdiFillPath(HDC hDC)
|
|||
BOOL ret = FALSE;
|
||||
PPATH pPath;
|
||||
PDC_ATTR pdcattr;
|
||||
PDC dc = DC_LockDc ( hDC );
|
||||
PDC dc;
|
||||
|
||||
if ( !dc )
|
||||
dc = DC_LockDc(hDC);
|
||||
if (!dc)
|
||||
{
|
||||
EngSetLastError(ERROR_INVALID_PARAMETER);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
pPath = PATH_LockPath( dc->dclevel.hPath );
|
||||
if (!pPath)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue