summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2021-01-19 17:14:09 (GMT)
committeralbert-github <albert.tests@gmail.com>2021-01-19 17:14:09 (GMT)
commitb3152b3c7d7393da12cd0f8fec7ade2606d51ed5 (patch)
tree861d1bc217adcf6e2818a256ad007c04df298e8c
parent3b15963316b59cd1af3468a43535d90343916ffb (diff)
downloadDoxygen-b3152b3c7d7393da12cd0f8fec7ade2606d51ed5.zip
Doxygen-b3152b3c7d7393da12cd0f8fec7ade2606d51ed5.tar.gz
Doxygen-b3152b3c7d7393da12cd0f8fec7ade2606d51ed5.tar.bz2
Non default value not shown properly in doxywizard
In case of a string list with no default values the changed item was not shown with a red color when the list to be used had elements. The test was done against the wrong list.
-rw-r--r--addon/doxywizard/inputstrlist.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/addon/doxywizard/inputstrlist.cpp b/addon/doxywizard/inputstrlist.cpp
index cdc7d14..591ba3a 100644
--- a/addon/doxywizard/inputstrlist.cpp
+++ b/addon/doxywizard/inputstrlist.cpp
@@ -276,8 +276,8 @@ bool InputStrList::isDefault()
if (it1==m_strList.end() && it2==m_default.end()) return true;
// one list is empty but the other is not
- if (it1==m_default.end()) return false;
- if (it2==m_strList.end()) return false;
+ if (it1==m_strList.end()) return false;
+ if (it2==m_default.end()) return false;
it1 = m_strList.begin();
it2 = m_default.begin();