summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-05-16 18:30:02 +0000
committeralberth <alberth@openttd.org>2010-05-16 18:30:02 +0000
commitf0779f01630d4b44777ea0ae420ddf35a1bde551 (patch)
treecf2837b48d0fbc9b929d00b14867946ca0c05fbf
parentc4b29c512475eb9e4b142114beefda647d684447 (diff)
downloadopenttd-f0779f01630d4b44777ea0ae420ddf35a1bde551.tar.xz
(svn r19831) -Codechange: Rename formal parameters of the constructor to match data member variable names.
-rw-r--r--src/newgrf_gui.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp
index 4dbb57d3f..122cfb35a 100644
--- a/src/newgrf_gui.cpp
+++ b/src/newgrf_gui.cpp
@@ -526,17 +526,17 @@ struct NewGRFWindow : public Window {
int query_widget; ///< widget that opened a query
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->list = NULL;
- this->orig_list = config;
+ this->orig_list = orig_list;
this->editable = editable;
- this->execute = exec_changes;
+ this->execute = execute;
this->show_params = show_params;
this->preset = -1;
- CopyGRFConfigList(&this->list, *config, false);
+ CopyGRFConfigList(&this->list, *orig_list, false);
GetGRFPresetList(&_grf_preset_list);
this->InitNested(desc);