mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 05:38:46 -05:00
Fix an incorrect index value.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8290 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
5d0236755d
commit
f991f3053a
@ -147,7 +147,7 @@ QString DisplayText::appendDXCCWorkedB4(QString message, QString const& callsign
|
||||
int i2=countryName.lastIndexOf(";");
|
||||
if(i1>0) countryName=countryName.mid(i1+2,i2-i1-2);
|
||||
} else {
|
||||
if(i1>0) countryName=countryName.mid(0,i1-1);
|
||||
if(i1>0) countryName=countryName.mid(0,i1);
|
||||
// do some obvious abbreviations
|
||||
countryName.replace ("Islands", "Is.");
|
||||
countryName.replace ("Island", "Is.");
|
||||
|
Loading…
Reference in New Issue
Block a user