]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathScript.cpp
* src/frontends/controllers/Dialog.{cpp,h}:
[lyx.git] / src / mathed / InsetMathScript.cpp
index ebb90bad29b767ca60b975bd3cb2685db2b68190..487c17b4770f1cbd38aece12bc599dd3e9447f16 100644 (file)
@@ -340,7 +340,7 @@ void InsetMathScript::draw(PainterInfo & pi, int x, int y) const
        else {
                nuc().setXY(*pi.base.bv, x + dxx(), y);
                if (editing(pi.base.bv))
-                        pi.draw(x + dxx(), y, char_type('.'));
+                       pi.draw(x + dxx(), y, char_type('.'));
        }
        ScriptChanger dummy(pi.base);
        if (hasUp())
@@ -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;