diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2015-07-19 12:05:02 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2015-07-19 12:05:02 (GMT) |
commit | b0fc11e4a891e51bb4d982730efecddac2ef807e (patch) | |
tree | 1274999317b348833b3f1d68c3ed3a37e84ba00a /src | |
parent | b1601548308c8a6ec586a406155d24f80d75aafd (diff) | |
download | Doxygen-b0fc11e4a891e51bb4d982730efecddac2ef807e.zip Doxygen-b0fc11e4a891e51bb4d982730efecddac2ef807e.tar.gz Doxygen-b0fc11e4a891e51bb4d982730efecddac2ef807e.tar.bz2 |
Bug 751300 - Doxygen don't support longer key in bibtex
Diffstat (limited to 'src')
-rw-r--r-- | src/cite.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cite.cpp b/src/cite.cpp index 2ea6300..3125f35 100644 --- a/src/cite.cpp +++ b/src/cite.cpp @@ -226,13 +226,13 @@ void CiteDict::generatePage() const else if (insideBib) doc+=line+"\n"; int i; // determine text to use at the location of the @cite command - if (insideBib && (i=line.find("<a name=\"CITEREF_"))!=-1) + if (insideBib && (i=line.find("name=\"CITEREF_"))!=-1) { int j=line.find("\">["); int k=line.find("]</a>"); if (j!=-1 && k!=-1) { - QCString label = line.mid(i+17,j-i-17); + QCString label = line.mid(i+14,j-i-14); QCString number = line.mid(j+2,k-j-1); CiteInfo *ci = m_entries.find(label); //printf("label='%s' number='%s' => %p\n",label.data(),number.data(),ci); |