mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-10-08 00:00:29 -04:00
Don't use "appendage" ~ or ! on decoded lines. Protect against bad read in genft8_174_91.
This commit is contained in:
+4
-4
@@ -192,7 +192,7 @@ QString DisplayText::appendWorkedB4(QString message, QString const& callsign, QS
|
||||
|
||||
if (!countryWorkedBefore) {
|
||||
// therefore not worked call either
|
||||
appendage += "!";
|
||||
// appendage += "!";
|
||||
*bg = m_color_DXCC;
|
||||
} else {
|
||||
if(!countryB4onBand) {
|
||||
@@ -206,14 +206,14 @@ QString DisplayText::appendWorkedB4(QString message, QString const& callsign, QS
|
||||
} else {
|
||||
if (!callWorkedBefore) {
|
||||
// but have worked the country
|
||||
appendage += "~";
|
||||
// appendage += "~";
|
||||
*bg = m_color_NewCall;
|
||||
} else {
|
||||
if(!callB4onBand) {
|
||||
appendage += "~";
|
||||
// appendage += "~";
|
||||
*bg = m_color_NewCallBand;
|
||||
} else {
|
||||
appendage += " "; // have worked this call before
|
||||
// appendage += " "; // have worked this call before
|
||||
*bg = m_color_CQ;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user