mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 14:21:22 +00:00
setupapi: Fix comparing the group SIDs in IsUserAdmin.
This commit is contained in:
parent
412cb77d51
commit
278bd29b8d
|
@ -248,7 +248,7 @@ BOOL WINAPI IsUserAdmin(VOID)
|
|||
|
||||
for (i = 0; i < lpGroups->GroupCount; i++)
|
||||
{
|
||||
if (EqualSid(lpSid, &lpGroups->Groups[i].Sid))
|
||||
if (EqualSid(lpSid, lpGroups->Groups[i].Sid))
|
||||
{
|
||||
bResult = TRUE;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue