]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathFactory.cpp
Another assertion that got transformed in 1b1f8dd2
[lyx.git] / src / mathed / MathFactory.cpp
index 3bea8e9335bda59dd577944328aab3c68f2a0db3..bf468e8616b792dd665ccff1829874ab972825a9 100644 (file)
@@ -539,11 +539,11 @@ MathAtom createInsetMath(docstring const & s, Buffer * buf)
        if (s == "sideset")
                return MathAtom(new InsetMathSideset(buf, true, true));
        // The following 3 string values are only for math toolbar use, no LaTeX names
-       if (s == "sideset1")
+       if (s == "sidesetr")
                return MathAtom(new InsetMathSideset(buf, false, true));
-       if (s == "sideset2")
+       if (s == "sidesetl")
                return MathAtom(new InsetMathSideset(buf, true, false));
-       if (s == "sideset3")
+       if (s == "sidesetn")
                return MathAtom(new InsetMathSideset(buf, false, false));
        if (isSpecialChar(s))
                return MathAtom(new InsetMathSpecialChar(s));