mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-22 04:11:16 -05:00
Increase size of char array s[].
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8515 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
877e1cd987
commit
a2a49d5b22
@ -3615,7 +3615,7 @@ void MainWindow::guiUpdate()
|
|||||||
astroUpdate ();
|
astroUpdate ();
|
||||||
|
|
||||||
if(m_transmitting) {
|
if(m_transmitting) {
|
||||||
char s[37];
|
char s[41];
|
||||||
if(m_config.bFox() and ui->tabWidget->currentIndex()==2) {
|
if(m_config.bFox() and ui->tabWidget->currentIndex()==2) {
|
||||||
if(foxcom_.nslots==1) {
|
if(foxcom_.nslots==1) {
|
||||||
sprintf(s,"Tx: %s",foxcom_.cmsg[0]);
|
sprintf(s,"Tx: %s",foxcom_.cmsg[0]);
|
||||||
@ -3640,9 +3640,10 @@ void MainWindow::guiUpdate()
|
|||||||
if(m_mode=="Echo") {
|
if(m_mode=="Echo") {
|
||||||
tx_status_label.setText("Tx: ECHO");
|
tx_status_label.setText("Tx: ECHO");
|
||||||
} else {
|
} else {
|
||||||
|
s[40]=0;
|
||||||
QString t{QString::fromLatin1(s)};
|
QString t{QString::fromLatin1(s)};
|
||||||
if(m_mode=="FT8" and m_i3bit==1) t="Tx: RR73 NOW " + t.mid(4);
|
// if(m_mode=="FT8" and m_i3bit==1) t="Tx: RR73 NOW " + t.mid(4);
|
||||||
if(m_mode=="FT8" and m_i3bit==2) t="Tx: NIL NOW " + t.mid(4);
|
// if(m_mode=="FT8" and m_i3bit==2) t="Tx: NIL NOW " + t.mid(4);
|
||||||
tx_status_label.setText(t);
|
tx_status_label.setText(t);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user