diff options
author | albert-github <albert.tests@gmail.com> | 2018-05-14 13:54:03 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2018-05-14 13:54:03 (GMT) |
commit | a6b0a7fe237c5eb6e76073d366f281c8413eb0dd (patch) | |
tree | f5af8406c45a57a65227b5b65adfaa2736e2395f | |
parent | df0d9c3df44dbce633c38e99d33be4de06706f7b (diff) | |
download | Doxygen-a6b0a7fe237c5eb6e76073d366f281c8413eb0dd.zip Doxygen-a6b0a7fe237c5eb6e76073d366f281c8413eb0dd.tar.gz Doxygen-a6b0a7fe237c5eb6e76073d366f281c8413eb0dd.tar.bz2 |
Bug 796086 - Adjacent xrefitems always added to first list present on page
Better to search backward then forward to find related item.
-rw-r--r-- | src/commentscan.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commentscan.l b/src/commentscan.l index de31b2e..55c55a7 100644 --- a/src/commentscan.l +++ b/src/commentscan.l @@ -548,7 +548,7 @@ static void addXRefItem(const char *listName,const char *itemTitle, if (docEntry->sli) { QListIterator<ListItemInfo> slii(*docEntry->sli); - for (slii.toFirst();(lii=slii.current());++slii) + for (slii.toLast();(lii=slii.current());--slii) { if (qstrcmp(lii->type,listName)==0) { |