diff --git a/src/BufferView.cpp b/src/BufferView.cpp index ab5501cdb6..2d3df5f866 100644 --- a/src/BufferView.cpp +++ b/src/BufferView.cpp @@ -2499,7 +2499,7 @@ void BufferView::putSelectionAt(DocIterator const & cur, bool BufferView::selectIfEmpty(DocIterator & cur) { if ((cur.inTexted() && !cur.paragraph().empty()) - || cur.inMathed() && !cur.cell().empty()) + || (cur.inMathed() && !cur.cell().empty())) return false; pit_type const beg_pit = cur.pit();