]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_rootinset.C
some (yet unfinished) up/down work
[lyx.git] / src / mathed / math_rootinset.C
index 646cbfa789a443f618b7d3405c3f27e791eac714..8822ae1bf533b2622bd86c1557bb17f335bd2148 100644 (file)
@@ -82,7 +82,7 @@ void MathRootInset::normalize(NormalStream & os) const
 
 bool MathRootInset::idxUpDown(LCursor & cur, bool up) const
 {
-       bool target = !up; // up ? 0 : 1;
+       LCursor::idx_type const target = up ? 0 : 1;
        if (cur.idx() == target)
                return false;
        cur.idx() = target;