oleaut32: Avoid TRUE:FALSE conditional expressions
Frédéric Delanoy
frederic.delanoy at gmail.com
Sun Jan 12 03:42:46 CST 2014
---
dlls/oleaut32/varformat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/oleaut32/varformat.c b/dlls/oleaut32/varformat.c
index e02ad39..e72a170 100644
--- a/dlls/oleaut32/varformat.c
+++ b/dlls/oleaut32/varformat.c
@@ -2411,7 +2411,7 @@ HRESULT WINAPI VarFormatPercent(LPVARIANT pVarIn, INT nDigits, INT nLeading, INT
if (SUCCEEDED(hRet))
{
DWORD dwLen = strlenW(*pbstrOut);
- BOOL bBracket = (*pbstrOut)[dwLen] == ')' ? TRUE : FALSE;
+ BOOL bBracket = (*pbstrOut)[dwLen] == ')';
dwLen -= bBracket;
memcpy(buff, *pbstrOut, dwLen * sizeof(WCHAR));
--
1.8.5.2
More information about the wine-patches
mailing list