n4af / TR4W

TRLOG 4 Windows free amateur radio logging application
GNU General Public License v3.0
19 stars 6 forks source link

ADIF export fails for call suffixed '/M' #494

Closed n4af closed 3 years ago

n4af commented 3 years ago

Mobile calls are processed ok for mult but adif export drops the 'M'. leaving callsign'/' (sans 'M')

n4af commented 3 years ago

This was introduced by 4.41.7 and 8 in LogSubs2 procedure procedure LogContact if MobileCall(RXData.Callsign) and (ActiveDomesticMult = DomesticFile) then // n4af 4.41.8 Add Q.P. Rover // 4.98.6 RXData.Callsign := PrecedingString(RXData.Callsign,'/') + '/' + RXData.DomesticQTH; // n4af 4.41.7 This allowed a UNIQUE callsign for QSO party rovers. As long as the domestic qth was found all was ok.

n4af commented 3 years ago

code changed to: if MobileCall(RXData.Callsign) and (ActiveDomesticMult = DomesticFile) and (RXData.DomesticQTH <> '')then // n4af 4.41.8 Add Q.P. Rover // 4.98.6 RXData.Callsign := PrecedingString(RXData.Callsign,'/') + '/' + RXData.DomesticQTH; // n4af 4.41.7

Thus the domestic qth must exist before the '/M' is reduced to '/'