]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_factory.C
oh well
[lyx.git] / src / mathed / math_factory.C
index 8aec0d4313e11066a7d53d3b35d75f0ecb582f0d..ec39ab9636a50569b58de84412bcfb5228ea1604 100644 (file)
@@ -52,8 +52,6 @@ MathAtom createMathInset(latexkeys const * l)
                return MathAtom(new MathStackrelInset);
        case LM_TK_UNDERSET:
                return MathAtom(new MathUndersetInset);
-       case LM_TK_KERN:
-               return MathAtom(new MathKernInset);
        case LM_TK_BINOM:
        case LM_TK_CHOOSE:
                return MathAtom(new MathBinomInset);
@@ -98,6 +96,9 @@ MathAtom createMathInset(string const & s)
                        && s[2] >= '1' && s[2] <= '9')
                return MathAtom(new MathMacroArgument(s[2] - '0'));
 
+       if (s == "kern")
+               return MathAtom(new MathKernInset);
+
        if (s == "xymatrix")
                return MathAtom(new MathXYMatrixInset);