mirror of
https://github.com/reactos/reactos.git
synced 2024-09-11 05:12:43 +00:00
Find other entries besides the first too...
svn path=/trunk/; revision=12750
This commit is contained in:
parent
0f86e212b1
commit
10763448ee
|
@ -440,7 +440,7 @@ IntDestroyCurIconObject(PWINSTATION_OBJECT WinStaObject, PCURICON_OBJECT Object,
|
|||
Search = Object->ProcessList.Flink;
|
||||
while (Search != &Object->ProcessList)
|
||||
{
|
||||
Current = CONTAINING_RECORD(Object->ProcessList.Flink, CURICON_PROCESS, ListEntry);
|
||||
Current = CONTAINING_RECORD(Search, CURICON_PROCESS, ListEntry);
|
||||
if (Current->Process == W32Process)
|
||||
{
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue