From eee02ef8190fa430c8b9f1bf7516eff24b38dc17 Mon Sep 17 00:00:00 2001 From: Magnus Olsen Date: Sat, 19 Apr 2008 22:11:39 +0000 Subject: [PATCH] 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. svn path=/trunk/; revision=33039 --- reactos/subsystems/win32/win32k/objects/gdiobj.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reactos/subsystems/win32/win32k/objects/gdiobj.c b/reactos/subsystems/win32/win32k/objects/gdiobj.c index 027d2351f22..c8d3292f992 100644 --- a/reactos/subsystems/win32/win32k/objects/gdiobj.c +++ b/reactos/subsystems/win32/win32k/objects/gdiobj.c @@ -692,7 +692,8 @@ LockHandle: 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