Author: tkreuzer
Date: Wed Feb 23 18:51:57 2011
New Revision: 50880
URL:
http://svn.reactos.org/svn/reactos?rev=50880&view=rev
Log:
[WIN32K]
Small readability improvement.
Modified:
trunk/reactos/subsystems/win32/win32k/objects/path.c
Modified: trunk/reactos/subsystems/win32/win32k/objects/path.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ob…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/objects/path.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/objects/path.c [iso-8859-1] Wed Feb 23 18:51:57
2011
@@ -2281,13 +2281,15 @@
BOOL ret = FALSE;
PPATH pPath;
PDC_ATTR pdcattr;
- PDC dc = DC_LockDc ( hDC );
-
- if ( !dc )
+ PDC dc;
+
+ dc = DC_LockDc(hDC);
+ if (!dc)
{
EngSetLastError(ERROR_INVALID_PARAMETER);
return FALSE;
}
+
pPath = PATH_LockPath( dc->dclevel.hPath );
if (!pPath)
{