Set Buffer for MathData when creating macro view

This commit is contained in:
Richard Kimberly Heck 2024-04-18 18:22:52 -04:00
parent 7c140f743d
commit c395eda347

View File

@ -506,7 +506,7 @@ void InsetMathMacroTemplate::createLook(int args) const
// {#3}{#4} // {#3}{#4}
for (; i < numargs_; ++i) { for (; i < numargs_; ++i) {
MathData arg; MathData arg(buffer_);
arg.push_back(MathAtom(new InsetMathMacroArgument(i + 1))); arg.push_back(MathAtom(new InsetMathMacroArgument(i + 1)));
if (i >= argsInLook_) { if (i >= argsInLook_) {
look_.push_back(MathAtom(new InsetColoredCell(buffer_, look_.push_back(MathAtom(new InsetColoredCell(buffer_,