]> git.lyx.org Git - features.git/commitdiff
Initialize definition_ correctly
authorGeorg Baum <baum@lyx.org>
Mon, 30 Mar 2015 20:04:52 +0000 (22:04 +0200)
committerGeorg Baum <baum@lyx.org>
Mon, 30 Mar 2015 20:04:52 +0000 (22:04 +0200)
src/mathed/MathMacro.cpp

index b23be099dc98730a2cede2ca882e49c8e51b1eb2..4cdecbd49bb61dbffe552f1725a59d971f1b14af 100644 (file)
@@ -136,7 +136,8 @@ private:
 
 MathMacro::MathMacro(Buffer * buf, docstring const & name)
        : InsetMathNest(buf, 0), name_(name), displayMode_(DISPLAY_INIT),
-               expanded_(buf), attachedArgsNum_(0), optionals_(0), nextFoldMode_(true),
+               expanded_(buf), definition_(buf), attachedArgsNum_(0),
+               optionals_(0), nextFoldMode_(true),
                macroBackup_(buf), macro_(0), needsUpdate_(false),
                isUpdating_(false), appetite_(9)
 {}