mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Amend a83159f0
: Use logical operator ||.
Clang is not mocking here, but it looks more consistent.
This commit is contained in:
parent
531fed9543
commit
48c069fa8a
@ -2532,7 +2532,7 @@ void BufferView::mouseEventDispatch(FuncRequest const & cmd0)
|
||||
// Notify left insets
|
||||
if (cur != old) {
|
||||
bool badcursor = old.fixIfBroken() || cur.fixIfBroken();
|
||||
badcursor |= notifyCursorLeavesOrEnters(old, cur);
|
||||
badcursor = badcursor || notifyCursorLeavesOrEnters(old, cur);
|
||||
if (badcursor)
|
||||
cursor().fixIfBroken();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user