Fix: allow same length server password in the UI
(cherry picked from commit a849b4e175
)
This commit is contained in:

committed by
Jonathan G Rennison

parent
609eb46ba7
commit
57efeec5bb
@@ -1111,7 +1111,7 @@ struct NetworkStartServerWindow : public Window {
|
|||||||
case WID_NSS_SETPWD: // Set password button
|
case WID_NSS_SETPWD: // Set password button
|
||||||
this->widget_id = WID_NSS_SETPWD;
|
this->widget_id = WID_NSS_SETPWD;
|
||||||
SetDParamStr(0, _settings_client.network.server_password);
|
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;
|
break;
|
||||||
|
|
||||||
case WID_NSS_CONNTYPE_BTN: // Connection type
|
case WID_NSS_CONNTYPE_BTN: // Connection type
|
||||||
|
Reference in New Issue
Block a user