diff --git a/logbook/adif.cpp b/logbook/adif.cpp index 568a2eb1c..a1be7de51 100644 --- a/logbook/adif.cpp +++ b/logbook/adif.cpp @@ -20,7 +20,7 @@ void ADIF::init(QString const& filename) QString ADIF::extractField(QString const& record, QString const& fieldName) const { - int fieldNameIndex = record.indexOf (fieldName + ':', 0, Qt::CaseInsensitive); + int fieldNameIndex = record.indexOf ('<' + fieldName + ':', 0, Qt::CaseInsensitive); if (fieldNameIndex >=0) { int closingBracketIndex = record.indexOf('>',fieldNameIndex);