Author: tkreuzer
Date: Wed Apr 20 21:10:13 2011
New Revision: 51411
URL:
http://svn.reactos.org/svn/reactos?rev=51411&view=rev
Log:
[WIN32K]
Don't try to lock a dcs clip region if its NULL
Modified:
trunk/reactos/subsystems/win32/win32k/objects/cliprgn.c
Modified: trunk/reactos/subsystems/win32/win32k/objects/cliprgn.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ob…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/objects/cliprgn.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/objects/cliprgn.c [iso-8859-1] Wed Apr 20
21:10:13 2011
@@ -192,7 +192,7 @@
{
pRgn = dc->dclevel.prgnMeta;
}
- else
+ else if (dc->rosdc.hClipRgn)
{
Unlock = TRUE ;
pRgn = REGION_LockRgn(dc->rosdc.hClipRgn); // CLIPRGN