add missing parens to bitwise expression
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2039,7 +2039,7 @@ wxRichTextCtrl::HitTest(const wxPoint& pt,
|
||||
return wxTE_HT_BEFORE;
|
||||
else if ((hit & wxRICHTEXT_HITTEST_AFTER) && (hit & wxRICHTEXT_HITTEST_OUTSIDE))
|
||||
return wxTE_HT_BEYOND;
|
||||
else if (hit & wxRICHTEXT_HITTEST_BEFORE|wxRICHTEXT_HITTEST_AFTER)
|
||||
else if (hit & (wxRICHTEXT_HITTEST_BEFORE|wxRICHTEXT_HITTEST_AFTER))
|
||||
return wxTE_HT_ON_TEXT;
|
||||
|
||||
return wxTE_HT_UNKNOWN;
|
||||
|
Reference in New Issue
Block a user