mirror of
https://github.com/reactos/reactos.git
synced 2024-07-12 07:35:10 +00:00
[WIN32K]
Fix inserting LDEVOBJs into the list. Hopefully fixes CORE-7574 svn path=/trunk/; revision=61006
This commit is contained in:
parent
13edc1476d
commit
40075496b4
|
@ -186,7 +186,6 @@ LDEVOBJ_bLoadImage(
|
|||
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 @@ EngLoadImageEx(
|
|||
/* Insert the LDEV into the global list */
|
||||
pldev->pldevPrev = NULL;
|
||||
pldev->pldevNext = gpldevHead;
|
||||
if (gpldevHead)
|
||||
gpldevHead->pldevPrev = pldev;
|
||||
gpldevHead = pldev;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue