browseui: aclmulti: Follow the Windows Vista behavious in Expand.

This commit is contained in:
Mikołaj Zalewski 2008-02-13 18:24:55 +01:00 committed by Alexandre Julliard
parent c9492a5bf4
commit a17e222d02
1 changed files with 1 additions and 2 deletions

View File

@ -257,8 +257,7 @@ static HRESULT WINAPI ACLMulti_Expand(IACList *iface, LPCWSTR wstr)
if (!This->objs[i].pACL) if (!This->objs[i].pACL)
continue; continue;
res = IACList_Expand(This->objs[i].pACL, wstr); res = IACList_Expand(This->objs[i].pACL, wstr);
if (res == S_OK) /* Vista behaviour - XP would break out of the loop if res == S_OK (usually calling Expand only once) */
break;
} }
return res; return res;
} }