]> git.lyx.org Git - lyx.git/blobdiff - src/BiblioInfo.cpp
Fix crash noticed by Bennett:
[lyx.git] / src / BiblioInfo.cpp
index 92af3b5abae8457e572abcb1ef61f43d28de6377..c5548af832caff6aa641cf2f6892589d04f40bb8 100644 (file)
@@ -218,9 +218,9 @@ docstring const BibTeXInfo::getAbbreviatedAuthor() const
                return authors;
        }
 
-       docstring author = operator[]("author");
+       docstring author = convertLaTeXCommands(operator[]("author"));
        if (author.empty()) {
-               author = operator[]("editor");
+               author = convertLaTeXCommands(operator[]("editor"));
                if (author.empty())
                        return bib_key_;
        }