mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-13 02:52:37 +00:00
Fix: allow same length server password in the UI
This commit is contained in:
parent
c6411168d8
commit
a849b4e175
@ -1037,7 +1037,7 @@ struct NetworkStartServerWindow : public Window {
|
||||
case WID_NSS_SETPWD: // Set password button
|
||||
this->widget_id = WID_NSS_SETPWD;
|
||||
SetDParamStr(0, _settings_client.network.server_password);
|
||||
ShowQueryString(STR_JUST_RAW_STRING, STR_NETWORK_START_SERVER_SET_PASSWORD, 20, this, CS_ALPHANUMERAL, QSF_NONE);
|
||||
ShowQueryString(STR_JUST_RAW_STRING, STR_NETWORK_START_SERVER_SET_PASSWORD, NETWORK_PASSWORD_LENGTH, this, CS_ALPHANUMERAL, QSF_NONE);
|
||||
break;
|
||||
|
||||
case WID_NSS_CONNTYPE_BTN: // Connection type
|
||||
|
Loading…
Reference in New Issue
Block a user