Skip to content

Commit db1ca34

Browse files
authored
Merge pull request doxygen#12039 from albert-github/feature/issue_12008_2
issue doxygen#12008 "namespacemembers.html" and "functions.html" only show items for one specific initial letter
2 parents e140e03 + d6ea6c1 commit db1ca34

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/index.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3134,7 +3134,12 @@ static void writeMemberIndex(OutputList &ol,
31343134
bool first=true;
31353135
ol.writeString("<br/>\n");
31363136
QCString alphaLinks = "<div class=\"qindex\">";
3137+
StringMap usedLetters;
31373138
for (const auto &[letter,list] : map)
3139+
{
3140+
usedLetters.emplace(convertUTF8ToUpper(letter),letter);
3141+
}
3142+
for (const auto &[letterUC,letter] : usedLetters)
31383143
{
31393144
QCString ci(letter);
31403145
QCString is = letterToLabel(ci);
@@ -3152,7 +3157,7 @@ static void writeMemberIndex(OutputList &ol,
31523157
QCString li = letterToLabel(letter);
31533158
alphaLinks += "<a class=\"qindex\" href=\"" + anchor +
31543159
li + "\">" +
3155-
letter + "</a>";
3160+
letterUC + "</a>";
31563161
}
31573162
alphaLinks += "</div>\n";
31583163
ol.writeString(alphaLinks);

0 commit comments

Comments
 (0)