diff options
author | rubidium <rubidium@openttd.org> | 2009-11-28 13:38:34 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-11-28 13:38:34 +0000 |
commit | ff32ea24fc031a7d3c3ca259cd75bbee48a9cb96 (patch) | |
tree | 37bb63bce136f6dc8450c18409c60ed8476eb4c5 /src/news_gui.cpp | |
parent | 2dbf1d72f9bb6f7d9cb0ea3cd983f7109fc675f8 (diff) | |
download | openttd-ff32ea24fc031a7d3c3ca259cd75bbee48a9cb96.tar.xz |
(svn r18311) -Codechange: no need to hardcode locations of some 'random' windows
Diffstat (limited to 'src/news_gui.cpp')
-rw-r--r-- | src/news_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/news_gui.cpp b/src/news_gui.cpp index 5f04ea6de..5e5b38fe8 100644 --- a/src/news_gui.cpp +++ b/src/news_gui.cpp @@ -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) |