changeset 15202:e9db5d2f634e draft

(svn r19831) -Codechange: Rename formal parameters of the constructor to match data member variable names.
author alberth <alberth@openttd.org>
date Sun, 16 May 2010 18:30:02 +0000
parents 071e920abcfb
children 2ef926c44a98
files src/newgrf_gui.cpp
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/newgrf_gui.cpp
+++ b/src/newgrf_gui.cpp
@@ -526,17 +526,17 @@
 	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);