forked from mirror/OpenTTD
(svn r18311) -Codechange: no need to hardcode locations of some 'random' windows
This commit is contained in:
@@ -1026,7 +1026,7 @@ static const NWidgetPart _nested_message_history[] = {
|
||||
};
|
||||
|
||||
static const WindowDesc _message_history_desc(
|
||||
240, 22, 400, 140,
|
||||
WDP_AUTO, WDP_AUTO, 400, 140,
|
||||
WC_MESSAGE_HISTORY, WC_NONE,
|
||||
WDF_UNCLICK_BUTTONS,
|
||||
_nested_message_history, lengthof(_nested_message_history)
|
||||
@@ -1312,7 +1312,7 @@ static const NWidgetPart _nested_message_options_widgets[] = {
|
||||
};
|
||||
|
||||
static const WindowDesc _message_options_desc(
|
||||
270, 22, 0, 0,
|
||||
WDP_AUTO, WDP_AUTO, 0, 0,
|
||||
WC_GAME_OPTIONS, WC_NONE,
|
||||
WDF_UNCLICK_BUTTONS,
|
||||
_nested_message_options_widgets, lengthof(_nested_message_options_widgets)
|
||||
|
Reference in New Issue
Block a user