Author: fireball
Date: Tue Jan 18 12:13:59 2011
New Revision: 50421
URL:
http://svn.reactos.org/svn/reactos?rev=50421&view=rev
Log:
- It's more useful to show a dprint before asserting.
Modified:
branches/arwinss/reactos/subsystems/win32/win32k/gre/gdiobj.c
Modified: branches/arwinss/reactos/subsystems/win32/win32k/gre/gdiobj.c
URL:
http://svn.reactos.org/svn/reactos/branches/arwinss/reactos/subsystems/win3…
==============================================================================
--- branches/arwinss/reactos/subsystems/win32/win32k/gre/gdiobj.c [iso-8859-1] (original)
+++ branches/arwinss/reactos/subsystems/win32/win32k/gre/gdiobj.c [iso-8859-1] Tue Jan 18
12:13:59 2011
@@ -995,9 +995,9 @@
HandleType != ExpectedType) ||
HandleType == 0 )
{
- //ASSERT(FALSE);
DPRINT1("Attempted to lock object 0x%x of wrong type (Handle: 0x%x,
requested: 0x%x)\n",
hObj, HandleType, ExpectedType);
+ ASSERT(FALSE);
return NULL;
}