From 69d224eb65d659d88889633a678e5b4db7187378 Mon Sep 17 00:00:00 2001 From: Stefan Schimanski Date: Fri, 21 Dec 2007 20:44:20 +0000 Subject: [PATCH] * adapt to MacroType git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22244 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/MathMacroTemplate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.2