Commit 37a9183d authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

jscript: Avoid FALSE:TRUE conditional expressions.

parent 4d3a7aa2
...@@ -461,9 +461,9 @@ static HRESULT equal2_values(VARIANT *lval, VARIANT *rval, BOOL *ret) ...@@ -461,9 +461,9 @@ static HRESULT equal2_values(VARIANT *lval, VARIANT *rval, BOOL *ret)
break; break;
case VT_BSTR: case VT_BSTR:
if(!V_BSTR(lval)) if(!V_BSTR(lval))
*ret = SysStringLen(V_BSTR(rval))?FALSE:TRUE; *ret = !SysStringLen(V_BSTR(rval));
else if(!V_BSTR(rval)) else if(!V_BSTR(rval))
*ret = SysStringLen(V_BSTR(lval))?FALSE:TRUE; *ret = !SysStringLen(V_BSTR(lval));
else else
*ret = !strcmpW(V_BSTR(lval), V_BSTR(rval)); *ret = !strcmpW(V_BSTR(lval), V_BSTR(rval));
break; break;
......
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