In single-decode mode, treat "Aggressive decoding level" as 1 if set to 0.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6620 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2016-04-13 13:52:45 +00:00
parent 94be009454
commit 3aca283554

View File

@ -1835,7 +1835,10 @@ void MainWindow::decode() //decode()
if(m_config.NDxG()) dec_data.params.nexp_decode += 4; if(m_config.NDxG()) dec_data.params.nexp_decode += 4;
if(m_config.NN()) dec_data.params.nexp_decode += 8; if(m_config.NN()) dec_data.params.nexp_decode += 8;
if(m_config.EMEonly()) dec_data.params.nexp_decode += 16; if(m_config.EMEonly()) dec_data.params.nexp_decode += 16;
if(m_config.single_decode()) dec_data.params.nexp_decode += 32; if(m_config.single_decode()) {
dec_data.params.nexp_decode += 32;
if(dec_data.params.naggressive<1) dec_data.params.naggressive=1;
}
strncpy(dec_data.params.datetime, m_dateTime.toLatin1(), 20); strncpy(dec_data.params.datetime, m_dateTime.toLatin1(), 20);
strncpy(dec_data.params.mycall, (m_config.my_callsign()+" ").toLatin1(),12); strncpy(dec_data.params.mycall, (m_config.my_callsign()+" ").toLatin1(),12);