Commit d7ec9e85 authored by Dimitri van Heesch's avatar Dimitri van Heesch
Browse files

Merge pull request #186 from albert-github/feature/bug_702584

Bug 702584 - \cite rejects valid BibTeX keys
parents 1fc2a65a 06170de4
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -58,6 +58,10 @@ static QCString getListOfBibFiles(const QCString &sep,bool namesOnly)
    {
    {
      bibFile = bibFile.left(bibFile.length()-4);
      bibFile = bibFile.left(bibFile.length()-4);
    }
    }
    else
    {
      if (!namesOnly && bibFile.right(4)!=".bib") bibFile += ".bib";
    }
    if ((i=bibFile.findRev('/'))!=-1) // strip path
    if ((i=bibFile.findRev('/'))!=-1) // strip path
    {
    {
      bibFile = bibFile.mid(i+1);
      bibFile = bibFile.mid(i+1);