From af6cb2d0e239a4e84a8e25c947862c215aac93f4 Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Mon, 30 Mar 2015 22:04:52 +0200 Subject: [PATCH] Initialize definition_ correctly --- src/mathed/MathMacro.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mathed/MathMacro.cpp b/src/mathed/MathMacro.cpp index b23be099dc..4cdecbd49b 100644 --- a/src/mathed/MathMacro.cpp +++ b/src/mathed/MathMacro.cpp @@ -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) {}