summaryrefslogtreecommitdiff
path: root/src/goal_gui.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2013-05-26 19:25:01 +0000
committerfrosch <frosch@openttd.org>2013-05-26 19:25:01 +0000
commit8157a8afd814cb24aaaa4c725817c864e0c583c6 (patch)
treef81c823727cb75370437179afd5ba452055f6512 /src/goal_gui.cpp
parent8c4714ad9099308691059f0a7a3cd6bbd33ce538 (diff)
downloadopenttd-8157a8afd814cb24aaaa4c725817c864e0c583c6.tar.xz
(svn r25290) -Add: Assign string names to notable windows.
Diffstat (limited to 'src/goal_gui.cpp')
-rw-r--r--src/goal_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/goal_gui.cpp b/src/goal_gui.cpp
index e738617a6..32c7b78ec 100644
--- a/src/goal_gui.cpp
+++ b/src/goal_gui.cpp
@@ -231,7 +231,7 @@ static const NWidgetPart _nested_goals_list_widgets[] = {
};
static WindowDesc _goals_list_desc(
- WDP_AUTO, 500, 127,
+ WDP_AUTO, "list_goals", 500, 127,
WC_GOALS_LIST, WC_NONE,
0,
_nested_goals_list_widgets, lengthof(_nested_goals_list_widgets)
@@ -360,7 +360,7 @@ static const NWidgetPart _nested_goal_question_widgets[] = {
};
static WindowDesc _goal_question_list_desc(
- WDP_CENTER, 0, 0,
+ WDP_CENTER, NULL, 0, 0,
WC_GOAL_QUESTION, WC_NONE,
WDF_CONSTRUCTION,
_nested_goal_question_widgets, lengthof(_nested_goal_question_widgets)