micro amendments

This commit is contained in:
Juergen Spitzmueller 2018-12-29 17:52:25 +01:00
parent fc14f23b89
commit c457ea90e7

View File

@ -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);
}