mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-23 04:38:37 -05:00
Fix the crash that we were seeing on linux. The string s[41] was too short to include the null termination.
This commit is contained in:
parent
b252c11815
commit
f821f32562
@ -3726,7 +3726,7 @@ void MainWindow::guiUpdate()
|
|||||||
astroUpdate ();
|
astroUpdate ();
|
||||||
|
|
||||||
if(m_transmitting) {
|
if(m_transmitting) {
|
||||||
char s[41];
|
char s[42];
|
||||||
if(m_config.bFox() and ui->tabWidget->currentIndex()==2) {
|
if(m_config.bFox() and ui->tabWidget->currentIndex()==2) {
|
||||||
sprintf(s,"Tx: %d Slots",foxcom_.nslots);
|
sprintf(s,"Tx: %d Slots",foxcom_.nslots);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user