]> git.lyx.org Git - features.git/blobdiff - src/mathed/MathMacroTemplate.cpp
* adapt to MacroType
[features.git] / src / mathed / MathMacroTemplate.cpp
index 77cf8350dd87f347225acd6818d769e9bef42b68..6b7493de7f97f33833316a4ea47a0cb397b56c2d 100644 (file)
@@ -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();