Fix harmless g++ warning about operator precedence.

Add parentheses to suppress "&& inside ||" warning.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2013-02-06 00:42:09 +00:00
parent 9ab1e1539d
commit 79fdb1d1f7

View File

@@ -962,7 +962,7 @@ bool wxWebViewIE::IsElementVisible(IHTMLElement* elm)
is_visible = false;
}
//Check if the object has the style visibility:hidden.
if(is_visible && (style->get_visibility(&tmp_bstr) != S_OK) ||
if((is_visible && (style->get_visibility(&tmp_bstr) != S_OK)) ||
(tmp_bstr != NULL && _wcsicmp(tmp_bstr, L"hidden") == 0))
{
is_visible = false;