summaryrefslogtreecommitdiff
path: root/news_gui.c
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2006-10-24 16:27:18 +0000
committerDarkvater <Darkvater@openttd.org>2006-10-24 16:27:18 +0000
commit02a6df391d3ea78330b21b46cae93fd48e50eca9 (patch)
tree89911288bb06c92fe50c96881ca5ed70276ed5df /news_gui.c
parentc7c65ce6d56e527f153d3d471f2c4dd8ebf2dd00 (diff)
downloadopenttd-02a6df391d3ea78330b21b46cae93fd48e50eca9.tar.xz
(svn r6926) -Codechange: Rename WWT_4 to WWT_TEXTBTN_2 and WWT_6 to WWT_INSET (credits to peter1138
for the aptly found name) -Codechange: Remove the explicit numbering from WindowWidgetTypes
Diffstat (limited to 'news_gui.c')
-rw-r--r--news_gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/news_gui.c b/news_gui.c
index eade95e25..4651ca20a 100644
--- a/news_gui.c
+++ b/news_gui.c
@@ -330,7 +330,7 @@ static const Widget _news_type0_widgets[] = {
{ WWT_PANEL, RESIZE_NONE, 5, 0, 279, 14, 86, 0x0, STR_NULL},
{ WWT_CLOSEBOX, RESIZE_NONE, 5, 0, 10, 0, 13, STR_00C5, STR_018B_CLOSE_WINDOW},
{ WWT_CAPTION, RESIZE_NONE, 5, 11, 279, 0, 13, STR_012C_MESSAGE, STR_NULL},
-{ WWT_6, RESIZE_NONE, 5, 2, 277, 16, 64, 0x0, STR_NULL},
+{ WWT_INSET, RESIZE_NONE, 5, 2, 277, 16, 64, 0x0, STR_NULL},
{ WIDGETS_END},
};
@@ -843,7 +843,7 @@ static const Widget _message_options_widgets[] = {
{ WWT_PANEL, RESIZE_NONE, 3, 4, 86, 154, 165, 0x0, STR_NULL},
{ WWT_TEXTBTN, RESIZE_NONE, 3, 87, 98, 154, 165, STR_0225, STR_NULL},
-{ WWT_4, RESIZE_NONE, 3, 4, 98, 166, 177, STR_02DB_OFF, STR_NULL},
+{ WWT_TEXTBTN_2, RESIZE_NONE, 3, 4, 98, 166, 177, STR_02DB_OFF, STR_NULL},
{ WWT_LABEL, RESIZE_NONE, 13, 0, 409, 13, 26, STR_0205_MESSAGE_TYPES, STR_NULL},
{ WIDGETS_END},