From e85e9424b340baaa799ff769b43386cfdad75d6f Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Fri, 28 Mar 2014 23:16:36 +0100 Subject: [PATCH] Fix display of predefined macros (bug #9059) This was a regression of e86cdc40: A newly introduced member variable was not initialized in the constructor, which made it quite random whether symbols like \coloneqq where displayed correctly or as an empty edit box. --- 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 e536af5372..f39112c11c 100644 --- a/src/mathed/MathMacro.cpp +++ b/src/mathed/MathMacro.cpp @@ -126,7 +126,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), - macroBackup_(buf), macro_(0), needsUpdate_(false), appetite_(9) + macroBackup_(buf), macro_(0), needsUpdate_(false), + isUpdating_(false), appetite_(9) {} -- 2.39.2