From 6d57b3fc614d7091d17e9ba25d5cd9e183d9775d Mon Sep 17 00:00:00 2001 From: john30 Date: Thu, 4 May 2017 07:26:39 +0200 Subject: [PATCH] fix for duplicate lines with --dumpconfig --- src/lib/ebus/message.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ebus/message.cpp b/src/lib/ebus/message.cpp index 084f3668..9ff99b24 100644 --- a/src/lib/ebus/message.cpp +++ b/src/lib/ebus/message.cpp @@ -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) {