[ADVAPI32]: Addendum to r72151: It's incorrect to compare the variable of BOOL type with TRUE. Any non-zero value is considered to be "true". Caught by Thomas.

svn path=/trunk/; revision=72152
This commit is contained in:
Hermès Bélusca-Maïto 2016-08-07 19:11:08 +00:00
parent 1b15193628
commit 17704fdd87

View file

@ -30,7 +30,7 @@ IsTextUnicode(IN CONST VOID* lpv,
IN INT iSize,
IN OUT LPINT lpiResult OPTIONAL)
{
return (RtlIsTextUnicode(lpv, iSize, lpiResult) == TRUE);
return (RtlIsTextUnicode(lpv, iSize, lpiResult) != FALSE);
}
/* EOF */