]> git.lyx.org Git - features.git/commitdiff
* compile fix for trunk
authorStefan Schimanski <sts@lyx.org>
Wed, 19 Dec 2007 23:03:26 +0000 (23:03 +0000)
committerStefan Schimanski <sts@lyx.org>
Wed, 19 Dec 2007 23:03:26 +0000 (23:03 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22215 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/MathMacroTemplate.cpp

index f3c2eb106c84b4b40b57ac1e262db9cb52cc489c..fb0b15d659d01813b93609c066132d0bd264b939 100644 (file)
@@ -119,8 +119,8 @@ MathMacroTemplate::MathMacroTemplate(docstring const & name, int numargs,
 
 
 MathMacroTemplate::MathMacroTemplate(docstring const & str)
-       : InsetMathNest(3), numargs_(0), optionals_(0), 
-               type_(MacroTypeNewcommand)
+       : InsetMathNest(3), numargs_(0), optionals_(0),
+       type_(from_ascii("newcommand"))
 {
        initMath();