summaryrefslogtreecommitdiff
path: root/src/newgrf_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/newgrf_gui.cpp')
-rw-r--r--src/newgrf_gui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp
index 02aca44a3..59e39535b 100644
--- a/src/newgrf_gui.cpp
+++ b/src/newgrf_gui.cpp
@@ -529,7 +529,7 @@ static const NWidgetPart _nested_newgrf_parameter_widgets[] = {
/** Window definition for the change grf parameters window */
static WindowDesc _newgrf_parameters_desc(
- WDP_CENTER, 500, 208,
+ WDP_CENTER, "settings_newgrf_config", 500, 208,
WC_GRF_PARAMETERS, WC_NONE,
0,
_nested_newgrf_parameter_widgets, lengthof(_nested_newgrf_parameter_widgets)
@@ -1878,7 +1878,7 @@ static const NWidgetPart _nested_newgrf_widgets[] = {
/* Window definition of the manage newgrfs window */
static WindowDesc _newgrf_desc(
- WDP_CENTER, 300, 263,
+ WDP_CENTER, "settings_newgrf", 300, 263,
WC_GAME_OPTIONS, WC_NONE,
0,
_nested_newgrf_widgets, lengthof(_nested_newgrf_widgets)
@@ -1949,7 +1949,7 @@ static const NWidgetPart _nested_scan_progress_widgets[] = {
/** Description of the widgets and other settings of the window. */
static WindowDesc _scan_progress_desc(
- WDP_CENTER, 0, 0,
+ WDP_CENTER, NULL, 0, 0,
WC_MODAL_PROGRESS, WC_NONE,
0,
_nested_scan_progress_widgets, lengthof(_nested_scan_progress_widgets)