From: Juergen Spitzmueller Date: Thu, 22 Mar 2018 22:37:19 +0000 (+0100) Subject: amend cfce0ac0 X-Git-Tag: 2.3.1~128 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=9c1ac5e6d9a2e18656212d8a2b54b9d12a47c6c9;p=features.git amend cfce0ac0 (cherry picked from commit 6415d986ba32373d3c3915ec77473dfa2e2b7ad3) --- diff --git a/src/Buffer.cpp b/src/Buffer.cpp index 3c2695619a..51fc4e0bd6 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -2356,6 +2356,9 @@ BiblioInfo const & Buffer::bibInfo() const void Buffer::registerBibfiles(FileNamePairList const & bf) const { + // We register the bib files in the master buffer, + // if there is one, but also in every single buffer, + // in case a child is compiled alone. Buffer const * const tmp = masterBuffer(); if (tmp != this) tmp->registerBibfiles(bf); @@ -2429,6 +2432,9 @@ void Buffer::collectBibKeys(FileNameList & checkedFiles) const void Buffer::addBiblioInfo(BiblioInfo const & bin) const { + // We add the biblio info to the master buffer, + // if there is one, but also to every single buffer, + // in case a child is compiled alone. BiblioInfo & bi = d->bibinfo_; bi.mergeBiblioInfo(bin);