Commit f2429cfe authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

oleaut32: Avoid TRUE:FALSE conditional expressions.

parent 5d0adcfa
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment