Author: hbelusca
Date: Sun Aug 7 19:11:08 2016
New Revision: 72152
URL:
http://svn.reactos.org/svn/reactos?rev=72152&view=rev
Log:
[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.
Modified:
trunk/reactos/dll/win32/advapi32/misc/unicode.c
Modified: trunk/reactos/dll/win32/advapi32/misc/unicode.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/misc/un…
==============================================================================
--- trunk/reactos/dll/win32/advapi32/misc/unicode.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/advapi32/misc/unicode.c [iso-8859-1] Sun Aug 7 19:11:08 2016
@@ -30,7 +30,7 @@
IN INT iSize,
IN OUT LPINT lpiResult OPTIONAL)
{
- return (RtlIsTextUnicode(lpv, iSize, lpiResult) == TRUE);
+ return (RtlIsTextUnicode(lpv, iSize, lpiResult) != FALSE);
}
/* EOF */