|
|
@ -446,7 +446,7 @@ public:
|
|
|
|
|
|
|
|
|
|
|
|
ttd_strlcpy(this->edit_str_buf, _settings_client.network.client_name, this->edit_str_size);
|
|
|
|
ttd_strlcpy(this->edit_str_buf, _settings_client.network.client_name, this->edit_str_size);
|
|
|
|
this->afilter = CS_ALPHANUMERAL;
|
|
|
|
this->afilter = CS_ALPHANUMERAL;
|
|
|
|
this->text.Initialize(this->edit_str_buf, this->edit_str_size, 120);
|
|
|
|
this->text.Initialize(this->edit_str_buf, this->edit_str_size);
|
|
|
|
this->SetFocusedWidget(WID_NG_CLIENT);
|
|
|
|
this->SetFocusedWidget(WID_NG_CLIENT);
|
|
|
|
|
|
|
|
|
|
|
|
this->last_joined = NetworkGameListAddItem(NetworkAddress(_settings_client.network.last_host, _settings_client.network.last_port));
|
|
|
|
this->last_joined = NetworkGameListAddItem(NetworkAddress(_settings_client.network.last_host, _settings_client.network.last_port));
|
|
|
@ -1009,7 +1009,7 @@ struct NetworkStartServerWindow : public QueryStringBaseWindow {
|
|
|
|
ttd_strlcpy(this->edit_str_buf, _settings_client.network.server_name, this->edit_str_size);
|
|
|
|
ttd_strlcpy(this->edit_str_buf, _settings_client.network.server_name, this->edit_str_size);
|
|
|
|
|
|
|
|
|
|
|
|
this->afilter = CS_ALPHANUMERAL;
|
|
|
|
this->afilter = CS_ALPHANUMERAL;
|
|
|
|
this->text.Initialize(this->edit_str_buf, this->edit_str_size, 160);
|
|
|
|
this->text.Initialize(this->edit_str_buf, this->edit_str_size);
|
|
|
|
this->SetFocusedWidget(WID_NSS_GAMENAME);
|
|
|
|
this->SetFocusedWidget(WID_NSS_GAMENAME);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|