Author: gedmurphy
Date: Thu Sep 6 13:41:00 2007
New Revision: 28897
URL:
http://svn.reactos.org/svn/reactos?rev=28897&view=rev
Log:
Add a hack to fix the build.
Timo, can you revert this and add the missing macro when you can please.
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 (original)
+++ trunk/reactos/subsystems/win32/win32k/objects/gdiobj.c Thu Sep 6 13:41:00 2007
@@ -364,7 +364,7 @@
ASSERT(ObjectType != GDI_OBJECT_TYPE_DONTCARE);
- TypeIndex = GDI_OBJECT_GET_TYPE_INDEX(ObjectType);
+ TypeIndex = 0; //GDI_OBJECT_GET_TYPE_INDEX(ObjectType);
if (ObjTypeInfo[TypeIndex].bUseLookaside)
{
LookasideList = FindLookasideList(HandleTable, TypeIndex);
@@ -583,7 +583,7 @@
}
/* call the cleanup routine. */
- TypeIndex = GDI_OBJECT_GET_TYPE_INDEX(HandleType);
+ TypeIndex = 0; //GDI_OBJECT_GET_TYPE_INDEX(HandleType);
Ret = RunCleanupCallback(GDIHdrToBdy(GdiHdr), TypeIndex);
/* Now it's time to free the memory */