From 2c1c1b07a05563a4e6fa515b905f9c4ad5f7ce31 Mon Sep 17 00:00:00 2001 From: Stefan Schimanski Date: Tue, 29 May 2007 20:41:31 +0000 Subject: [PATCH] * Moving up from lower index shouldn't depend on existance of upper (and other way round), OK by Uwe and Abdel git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18567 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/InsetMathScript.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mathed/InsetMathScript.cpp b/src/mathed/InsetMathScript.cpp index 3773f1dcc8..487c17b477 100644 --- a/src/mathed/InsetMathScript.cpp +++ b/src/mathed/InsetMathScript.cpp @@ -484,7 +484,7 @@ bool InsetMathScript::idxUpDown(Cursor & cur, bool up) const } // Are we 'up'? - if (has(up) && cur.idx() == idxOfScript(true)) { + if (cur.idx() == idxOfScript(true)) { // can't go further up if (up) return false; @@ -495,7 +495,7 @@ bool InsetMathScript::idxUpDown(Cursor & cur, bool up) const } // Are we 'down'? - if (has(up) && cur.idx() == idxOfScript(false)) { + if (cur.idx() == idxOfScript(false)) { // can't go further down if (!up) return false; -- 2.39.2