From: Georg Baum Date: Fri, 28 Mar 2014 22:16:36 +0000 (+0100) Subject: Fix display of predefined macros (bug #9059) X-Git-Tag: 2.1.0~96 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=e85e9424b340baaa799ff769b43386cfdad75d6f;p=features.git 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. --- 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) {}