1
0
Fork 0

(svn r19831) -Codechange: Rename formal parameters of the constructor to match data member variable names.

release/1.1
alberth 2010-05-16 18:30:02 +00:00
parent c4b29c5124
commit f0779f0163
1 changed files with 4 additions and 4 deletions

View File

@ -526,17 +526,17 @@ struct NewGRFWindow : public Window {
int query_widget; ///< widget that opened a query int query_widget; ///< widget that opened a query
int preset; ///< selected preset int preset; ///< selected preset
NewGRFWindow(const WindowDesc *desc, bool editable, bool show_params, bool exec_changes, GRFConfig **config) : Window() NewGRFWindow(const WindowDesc *desc, bool editable, bool show_params, bool execute, GRFConfig **orig_list) : Window()
{ {
this->sel = NULL; this->sel = NULL;
this->list = NULL; this->list = NULL;
this->orig_list = config; this->orig_list = orig_list;
this->editable = editable; this->editable = editable;
this->execute = exec_changes; this->execute = execute;
this->show_params = show_params; this->show_params = show_params;
this->preset = -1; this->preset = -1;
CopyGRFConfigList(&this->list, *config, false); CopyGRFConfigList(&this->list, *orig_list, false);
GetGRFPresetList(&_grf_preset_list); GetGRFPresetList(&_grf_preset_list);
this->InitNested(desc); this->InitNested(desc);