mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-06-25 06:35:17 -04:00
Revert "Use snprintf in two places, replacing calls to deprecated sprintf()." (This had already been fixed by Steve!)
This reverts commit 210ee2147e73f868523b1fa018b055c4256f61b2.
This commit is contained in:
parent
7f9a58483c
commit
f7928f060e
@ -4819,9 +4819,9 @@ void MainWindow::guiUpdate()
|
|||||||
if(m_transmitting) {
|
if(m_transmitting) {
|
||||||
char s[42];
|
char s[42];
|
||||||
if(SpecOp::FOX==m_specOp and ui->tabWidget->currentIndex()==1) {
|
if(SpecOp::FOX==m_specOp and ui->tabWidget->currentIndex()==1) {
|
||||||
snprintf(s,sizeof(s),"Tx: %d Slots",foxcom_.nslots);
|
sprintf(s,"Tx: %d Slots",foxcom_.nslots);
|
||||||
} else {
|
} else {
|
||||||
snprintf(s,sizeof(s),"Tx: %s",msgsent);
|
sprintf(s,"Tx: %s",msgsent);
|
||||||
}
|
}
|
||||||
m_nsendingsh=0;
|
m_nsendingsh=0;
|
||||||
if(s[4]==64) m_nsendingsh=1;
|
if(s[4]==64) m_nsendingsh=1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user