fix for duplicate lines with --dumpconfig

This commit is contained in:
john30
2017-05-04 07:26:39 +02:00
parent 727aca8309
commit 6d57b3fc61
+1 -1
View File
@@ -2644,7 +2644,7 @@ void MessageMap::dump(bool withConditions, ostream* output) const {
Message::dumpHeader(NULL, output);
*output << endl;
for (const auto it : m_messagesByName) {
if (it.first[0] == '-') { // skip instances stored multiple times (key starting with "-")
if (it.first[0] == FIELD_SEPARATOR) { // skip instances stored multiple times (key starting with "-")
continue;
}
if (m_addAll) {