mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-22 20:28:42 -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 ();
|
||||
|
||||
if(m_transmitting) {
|
||||
char s[41];
|
||||
char s[42];
|
||||
if(m_config.bFox() and ui->tabWidget->currentIndex()==2) {
|
||||
sprintf(s,"Tx: %d Slots",foxcom_.nslots);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user