From 4f79e155766d9a26416fea19cd9fbddcbd4fb292 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Thu, 14 Jul 2016 18:02:26 +0000 Subject: [PATCH] Highlight decodes with MyCall, even if in <...> brackets. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6920 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- displaytext.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/displaytext.cpp b/displaytext.cpp index b8f8c08aa..1e7bea6e4 100644 --- a/displaytext.cpp +++ b/displaytext.cpp @@ -155,11 +155,13 @@ void DisplayText::displayDecodedText(DecodedText decodedText, QString myCall, bg=color_CQ.name(); } if (myCall != "" and ( - decodedText.indexOf (" " + myCall + " ") >= 0 - or decodedText.indexOf (" " + myCall + "/") >= 0 - or decodedText.indexOf ("/" + myCall + " ") >= 0 - )) + decodedText.indexOf (" " + myCall + " ") >= 0 + or decodedText.indexOf (" " + myCall + "/") >= 0 + or decodedText.indexOf ("/" + myCall + " ") >= 0 + or decodedText.indexOf ("<" + myCall + " ") >= 0 + or decodedText.indexOf (" " + myCall + ">") >= 0)) { bg=color_MyCall.name(); + } // if enabled add the DXCC entity and B4 status to the end of the preformated text line t1 if (displayDXCCEntity && CQcall)