From a2128e50f956fa8e51c2f67074c18dff24885f3f Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Thu, 12 Jul 2018 08:58:04 -0400 Subject: [PATCH] Fix a blunder in sending old-style messages: if isync=1, then necessarily i3=0. --- mainwindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 4f7506da7..de7eb4601 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -3493,7 +3493,8 @@ void MainWindow::guiUpdate() m_isync=1; if(!m_config.bGenerate77() and itype == 6 and (m_i3>0 or m_n3>0)) m_isync=2; if(m_config.bGenerate77()) m_isync=2; - char ft8msgbits[77]; + if(m_isync==1) m_i3=0; + char ft8msgbits[77]; genft8_(message, &m_i3, &m_n3, &m_isync, msgsent, const_cast (ft8msgbits), const_cast (itone), 37, 37); if(m_config.bFox()) {