mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-09-27 15:46:51 -04:00
Correctly extract grid from reply to tailender in MSK144 contest exchange
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7399 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
2b5dc480f9
commit
b6006dacca
@ -137,8 +137,15 @@ void DecodedText::deCallAndGrid(/*out*/QString& call, QString& grid)
|
||||
int i1 = msg.indexOf (" ");
|
||||
call = msg.mid (i1 + 1);
|
||||
int i2 = call.indexOf (" ");
|
||||
if (" R " == call.mid (i2, 3)) // MSK144 contest mode report
|
||||
{
|
||||
grid = call.mid (i2 + 3, 4);
|
||||
}
|
||||
else
|
||||
{
|
||||
grid = call.mid (i2 + 1, 4);
|
||||
call = call.mid(0,i2).replace(">","");
|
||||
}
|
||||
call = call.left (i2).replace (">", "");
|
||||
}
|
||||
|
||||
int DecodedText::timeInSeconds()
|
||||
|
Loading…
Reference in New Issue
Block a user