mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[NTOS:EX] Fix a loop bug
This commit is contained in:
parent
01c05f33dc
commit
7fff216bed
1 changed files with 3 additions and 2 deletions
|
@ -109,8 +109,9 @@ FindBitmapResource(
|
||||||
|
|
||||||
/* Loop the driver list */
|
/* Loop the driver list */
|
||||||
ListHead = &LoaderBlock->LoadOrderListHead;
|
ListHead = &LoaderBlock->LoadOrderListHead;
|
||||||
NextEntry = ListHead->Flink;
|
for (NextEntry = ListHead->Flink;
|
||||||
while (NextEntry != ListHead)
|
NextEntry != ListHead;
|
||||||
|
NextEntry = NextEntry->Flink)
|
||||||
{
|
{
|
||||||
/* Get the entry */
|
/* Get the entry */
|
||||||
LdrEntry = CONTAINING_RECORD(NextEntry,
|
LdrEntry = CONTAINING_RECORD(NextEntry,
|
||||||
|
|
Loading…
Reference in a new issue