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
commit1e69ac550dcd81a16cf6e2cf56aa154e297a41d2 (patch)
tree89911288bb06c92fe50c96881ca5ed70276ed5df /news_gui.c
parentd303ef94b3e4bd19ab21ba49a70dd626e763f275 (diff)
downloadopenttd-1e69ac550dcd81a16cf6e2cf56aa154e297a41d2.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},