Author: tkreuzer
Date: Sat Nov 16 10:33:56 2013
New Revision: 61006
URL:
http://svn.reactos.org/svn/reactos?rev=61006&view=rev
Log:
[WIN32K]
Fix inserting LDEVOBJs into the list. Hopefully fixes CORE-7574
Modified:
trunk/reactos/win32ss/gdi/eng/ldevobj.c
Modified: trunk/reactos/win32ss/gdi/eng/ldevobj.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/gdi/eng/ldevobj.c?…
==============================================================================
--- trunk/reactos/win32ss/gdi/eng/ldevobj.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/gdi/eng/ldevobj.c [iso-8859-1] Sat Nov 16 10:33:56 2013
@@ -186,7 +186,6 @@
Status = ZwSetSystemInformation(SystemLoadGdiDriverInformation,
pDriverInfo,
sizeof(SYSTEM_GDI_DRIVER_INFORMATION));
-
if (!NT_SUCCESS(Status))
{
ERR("Failed to load a GDI driver: '%wZ', Status = 0x%lx\n",
@@ -424,6 +423,8 @@
/* Insert the LDEV into the global list */
pldev->pldevPrev = NULL;
pldev->pldevNext = gpldevHead;
+ if (gpldevHead)
+ gpldevHead->pldevPrev = pldev;
gpldevHead = pldev;
}