diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2018-12-26 11:03:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-26 11:03:28 (GMT) |
commit | 1f4a3ab39a467b2e5e0159f95ed10cb9830d5011 (patch) | |
tree | 10161b56aaa518f0e823436f38dd67c4e3d76bd9 /src/htmldocvisitor.cpp | |
parent | 3a1ba056b360ff784704e7d2cb594bf820cc28b0 (diff) | |
parent | 2e072c9e3cbc748ac2cdf6453c16d95cbfabf9d7 (diff) | |
download | Doxygen-1f4a3ab39a467b2e5e0159f95ed10cb9830d5011.zip Doxygen-1f4a3ab39a467b2e5e0159f95ed10cb9830d5011.tar.gz Doxygen-1f4a3ab39a467b2e5e0159f95ed10cb9830d5011.tar.bz2 |
Merge pull request #6578 from albert-github/feature/bug_addindex_html
Multiple addindex commands in HTML with same name
Diffstat (limited to 'src/htmldocvisitor.cpp')
-rw-r--r-- | src/htmldocvisitor.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/htmldocvisitor.cpp b/src/htmldocvisitor.cpp index da0dab9..6386cb8 100644 --- a/src/htmldocvisitor.cpp +++ b/src/htmldocvisitor.cpp @@ -68,7 +68,12 @@ static const char *contexts[10] = static QCString convertIndexWordToAnchor(const QString &word) { static char hex[] = "0123456789abcdef"; + static int cnt = 0; QCString result="a"; + QCString cntStr; + result += cntStr.setNum(cnt); + result += "_"; + cnt++; const char *str = word.data(); unsigned char c; if (str) |