From ab718e2d7f9974a387be45e750fcbdd476178ae5 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Wed, 10 Jun 2015 14:48:35 +0000 Subject: [PATCH] Escape '<' and '>' in WSPR decodes window callsign field git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5572 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index a5434767f..b69b52356 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -4200,7 +4200,7 @@ void MainWindow::p1ReadFromStdout() //p1readFromStdout .arg(rxFields.at(2), 5) .arg(rxFields.at(3), 11) .arg(rxFields.at(4), 4) - .arg(rxFields.at(5), -12) + .arg(rxFields.at(5).leftJustified (12).replace ('<', "<").replace ('>', ">")) .arg(rxFields.at(6), -6) .arg(rxFields.at(7), 3); grid = rxFields.at(6); @@ -4211,7 +4211,7 @@ void MainWindow::p1ReadFromStdout() //p1readFromStdout .arg(rxFields.at(2), 5) .arg(rxFields.at(3), 11) .arg(rxFields.at(4), 4) - .arg(rxFields.at(5), -12) + .arg(rxFields.at(5).leftJustified (12).replace ('<', "<").replace ('>', ">")) .arg("", -6) .arg(rxFields.at(6), 3); } else {