mirror of
https://github.com/reactos/reactos.git
synced 2024-10-03 07:53:49 +00:00
[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:
parent
1b15193628
commit
17704fdd87
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue