X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBiblioInfo.cpp;h=70127798522effae211a946b48d67658c7600892;hb=11e679f73ecca718c61307973c3d67739354e1c7;hp=9a93ed4cab288e86d5817f9a61966a75248d70f2;hpb=643deb8aa0424d52f7bc951bae95c9ec8209cfd4;p=lyx.git diff --git a/src/BiblioInfo.cpp b/src/BiblioInfo.cpp index 9a93ed4cab..7012779852 100644 --- a/src/BiblioInfo.cpp +++ b/src/BiblioInfo.cpp @@ -942,7 +942,9 @@ docstring const BiblioInfo::getLabel(vector keys, bool BiblioInfo::isBibtex(docstring const & key) const { - BiblioInfo::const_iterator it = find(key); + docstring key1; + split(key, key1, ','); + BiblioInfo::const_iterator it = find(key1); if (it == end()) return false; return it->second.isBibTeX();