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:
Steve Franke 2018-07-10 00:13:56 +00:00
parent b252c11815
commit f821f32562

View File

@ -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 {