Fix an issue with 6 character grids not being used in WSPR

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7042 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville 2016-08-29 17:02:01 +00:00
parent 55a6087403
commit d58a7e0311

View File

@ -2719,7 +2719,7 @@ void MainWindow::guiUpdate()
sdBm.sprintf(" %d",m_dBm); sdBm.sprintf(" %d",m_dBm);
m_tx=1-m_tx; m_tx=1-m_tx;
int i2=m_config.my_callsign().indexOf("/"); int i2=m_config.my_callsign().indexOf("/");
if(i2>0 or m_grid6) { if(i2>0 || 6 == m_config.my_grid ().size ()) {
if(i2<0) { // "Type 2" WSPR message if(i2<0) { // "Type 2" WSPR message
msg1=m_config.my_callsign() + " " + m_config.my_grid().mid(0,4) + sdBm; msg1=m_config.my_callsign() + " " + m_config.my_grid().mid(0,4) + sdBm;
} else { } else {