]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.cpp
style
[lyx.git] / src / BufferView.cpp
index ab5501cdb629a020918fb73b245f505e97d0c410..2d3df5f8661e3a50eb231952daf874799646112d 100644 (file)
@@ -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();