]> git.lyx.org Git - lyx.git/blobdiff - src/BiblioInfo.cpp
Add LFUN_SERVER_GET_STATISTICS command
[lyx.git] / src / BiblioInfo.cpp
index 9a93ed4cab288e86d5817f9a61966a75248d70f2..70127798522effae211a946b48d67658c7600892 100644 (file)
@@ -942,7 +942,9 @@ docstring const BiblioInfo::getLabel(vector<docstring> 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();