mirror of
https://github.com/ChronosX88/nesca.git
synced 2024-11-23 18:52:19 +00:00
Import mode port-saver fix.
This commit is contained in:
parent
eb0f9eef10
commit
8f16fd8d16
@ -178,7 +178,7 @@ void _LoadPersInfoToLocalVars(int savedTabIndex) {
|
||||
gMode = -1;
|
||||
gThreads = ui->importThreads->text().toInt();
|
||||
strncpy(gPorts, ("-p" + ui->importPortLine->text()).toLocal8Bit().data(), 65536);
|
||||
gPorts[ui->dnsPortLine->text().length() + 2] = '\0';
|
||||
gPorts[ui->importPortLine->text().length() + 2] = '\0';
|
||||
};
|
||||
|
||||
strcpy(trcSrv, ui->lineTrackerSrv->text().toLocal8Bit().data());
|
||||
|
Loading…
Reference in New Issue
Block a user