]> git.lyx.org Git - features.git/commitdiff
style
authorJuergen Spitzmueller <spitz@lyx.org>
Sat, 22 Mar 2014 11:22:41 +0000 (12:22 +0100)
committerRichard Heck <rgheck@lyx.org>
Mon, 21 Apr 2014 15:51:58 +0000 (11:51 -0400)
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();