mirror of
https://github.com/glest/glest-source.git
synced 2025-09-29 17:09:02 +02:00
last port of ftpdata was displayed wrong after switching
This commit is contained in:
@@ -860,7 +860,7 @@ void MenuStateOptions::mouseClick(int x, int y, MouseButton mouseButton){
|
||||
}
|
||||
// use the following ports for ftp
|
||||
char szBuf[1024]="";
|
||||
sprintf(szBuf,"%d - %d",selectedPort + 2, selectedPort + GameConstants::maxPlayers);
|
||||
sprintf(szBuf,"%d - %d",selectedPort + 2, selectedPort + 1 + GameConstants::maxPlayers);
|
||||
labelFTPServerPort.setText(intToStr(selectedPort+1));
|
||||
labelFTPServerDataPorts.setText(szBuf);
|
||||
}
|
||||
|
Reference in New Issue
Block a user