From c457ea90e72b7e9d2f6a0edfbf9ae01378df372c Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Sat, 29 Dec 2018 17:52:25 +0100 Subject: [PATCH] micro amendments --- src/Buffer.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Buffer.cpp b/src/Buffer.cpp index 385c0d024e..50cc2f243f 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -3943,10 +3943,9 @@ void Buffer::addReference(docstring const & label, Inset * inset, ParIterator it void Buffer::setInsetLabel(docstring const & label, InsetLabel const * il, bool const active) { - static LabelInfo linfo; + LabelInfo linfo; linfo.label = label; linfo.inset = il; - linfo.references = References(); linfo.active = active; masterBuffer()->d->ref_cache_.push_back(linfo); } -- 2.39.5