Mikołaj Zalewski : browseui: aclmulti: Follow the Windows Vista behavious in Expand.

Alexandre Julliard julliard at winehq.org
Fri Feb 15 05:36:07 CST 2008


Module: wine
Branch: master
Commit: a17e222d025559831b518ae669036b0dbdaa7bf6
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a17e222d025559831b518ae669036b0dbdaa7bf6

Author: Mikołaj Zalewski <mikolaj at zalewski.pl>
Date:   Wed Feb 13 18:24:55 2008 +0100

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

---

 dlls/browseui/aclmulti.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/dlls/browseui/aclmulti.c b/dlls/browseui/aclmulti.c
index 3fb49b8..b0a0ec8 100644
--- a/dlls/browseui/aclmulti.c
+++ b/dlls/browseui/aclmulti.c
@@ -257,8 +257,7 @@ static HRESULT WINAPI ACLMulti_Expand(IACList *iface, LPCWSTR wstr)
         if (!This->objs[i].pACL)
             continue;
         res = IACList_Expand(This->objs[i].pACL, wstr);
-        if (res == S_OK)
-            break;
+        /* Vista behaviour - XP would break out of the loop if res == S_OK (usually calling Expand only once) */
     }
     return res;
 }




More information about the wine-cvs mailing list