mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 18:24:48 +00:00
Revert "Amend a83159f0
: Use logical operator ||."
This reverts commit 48c069fa8a
.
The commit unintentionally changed behavior. See #13116.
This commit is contained in:
parent
7bf14813d7
commit
92b656c17b
@ -2856,7 +2856,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 = badcursor || notifyCursorLeavesOrEnters(old, cur);
|
badcursor |= notifyCursorLeavesOrEnters(old, cur);
|
||||||
if (badcursor)
|
if (badcursor)
|
||||||
cursor().fixIfBroken();
|
cursor().fixIfBroken();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user