mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +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
|
// Notify left insets
|
||||||
if (cur != old) {
|
if (cur != old) {
|
||||||
bool badcursor = old.fixIfBroken() || cur.fixIfBroken();
|
bool badcursor = old.fixIfBroken() || cur.fixIfBroken();
|
||||||
badcursor |= notifyCursorLeavesOrEnters(old, cur);
|
badcursor = badcursor || notifyCursorLeavesOrEnters(old, cur);
|
||||||
if (badcursor)
|
if (badcursor)
|
||||||
cursor().fixIfBroken();
|
cursor().fixIfBroken();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user