setupapi: Fix comparing the group SIDs in IsUserAdmin.

This commit is contained in:
Thomas Weidenmueller 2005-12-19 18:15:58 +01:00 committed by Alexandre Julliard
parent 412cb77d51
commit 278bd29b8d
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ BOOL WINAPI IsUserAdmin(VOID)
for (i = 0; i < lpGroups->GroupCount; i++) for (i = 0; i < lpGroups->GroupCount; i++)
{ {
if (EqualSid(lpSid, &lpGroups->Groups[i].Sid)) if (EqualSid(lpSid, lpGroups->Groups[i].Sid))
{ {
bResult = TRUE; bResult = TRUE;
break; break;