diff --git a/src/mathed/MathMacroTemplate.cpp b/src/mathed/MathMacroTemplate.cpp index 77cf8350dd..6b7493de7f 100644 --- a/src/mathed/MathMacroTemplate.cpp +++ b/src/mathed/MathMacroTemplate.cpp @@ -122,7 +122,7 @@ MathMacroTemplate::MathMacroTemplate(docstring const & name, int numargs, MathMacroTemplate::MathMacroTemplate(docstring const & str) : InsetMathNest(3), numargs_(0), optionals_(0), - type_(from_ascii("newcommand")) + type_(MacroTypeNewcommand) { initMath();