Squeeze warning

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31733 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2009-10-25 09:58:15 +00:00
parent a4c2cbade7
commit b20d162681

View File

@ -340,7 +340,7 @@ bool findChange(BufferView * bv, bool next)
if (bv->cursor().selection()) {
// set the cursor at the beginning or at the end of the selection
// before searching. Otherwise, the current change will be found.
if (next != bv->cursor().top() > bv->cursor().anchor())
if (next != (bv->cursor().top() > bv->cursor().anchor()))
bv->cursor().setCursorToAnchor();
}