Author: greatlrd
Date: Sat Apr 19 17:11:39 2008
New Revision: 33039
URL:
http://svn.reactos.org/svn/reactos?rev=33039&view=rev
Log:
do not assert if DPRINT1("Object->cExclusiveLock = %d\n",
Object->cExclusiveLock);
this can happen in ms dxg.sys for it can lock same dc twice or more.
then call to unlock it equal many times.
Modified:
trunk/reactos/subsystems/win32/win32k/objects/gdiobj.c
Modified: trunk/reactos/subsystems/win32/win32k/objects/gdiobj.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ob…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/objects/gdiobj.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/objects/gdiobj.c [iso-8859-1] Sat Apr 19
17:11:39 2008
@@ -692,7 +692,8 @@
DPRINT1("Object->cExclusiveLock = %d\n",
Object->cExclusiveLock);
GDIDBG_TRACECALLER();
GDIDBG_TRACELOCKER(GDI_HANDLE_GET_INDEX(hObj));
- ASSERT(FALSE);
+ /* do not assert here for it will call again from dxg.sys it being call
twice */
+ //ASSERT(FALSE);
}
}
else