(svn r21854) -Codechange: refactor the password setting methods to make it possible to change the password of other companies (on the server)

This commit is contained in:
rubidium
2011-01-19 16:47:40 +00:00
parent e54a1f6721
commit 795a528328
9 changed files with 32 additions and 32 deletions

View File

@@ -2311,7 +2311,7 @@ struct NetworkCompanyPasswordWindow : public QueryStringBaseWindow {
snprintf(_settings_client.network.default_company_pass, lengthof(_settings_client.network.default_company_pass), "%s", this->edit_str_buf);
}
NetworkChangeCompanyPassword(this->edit_str_buf);
NetworkChangeCompanyPassword(_local_company, this->edit_str_buf);
}
virtual void OnPaint()