diff options
author | rubidium <rubidium@openttd.org> | 2009-11-28 15:01:49 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-11-28 15:01:49 +0000 |
commit | 1f0da3710f955c7fd4a747ac814d449847e73884 (patch) | |
tree | 9f2f599538f3adfc61e80e472ed9f04332aeac65 /src/news_gui.cpp | |
parent | 9bb4ad4ba827127b9cf92f198efd6442f053a3aa (diff) | |
download | openttd-1f0da3710f955c7fd4a747ac814d449847e73884.tar.xz |
(svn r18324) -Codechange: there's no need for a default size when the window isn't resizable
Diffstat (limited to 'src/news_gui.cpp')
-rw-r--r-- | src/news_gui.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/news_gui.cpp b/src/news_gui.cpp index 55626fde6..6a6876443 100644 --- a/src/news_gui.cpp +++ b/src/news_gui.cpp @@ -106,7 +106,7 @@ static const NWidgetPart _nested_normal_news_widgets[] = { }; static const WindowDesc _normal_news_desc( - WDP_MANUAL, 430, 170, + WDP_MANUAL, 0, 0, WC_NEWS_WINDOW, WC_NONE, 0, _nested_normal_news_widgets, lengthof(_nested_normal_news_widgets) @@ -133,7 +133,7 @@ static const NWidgetPart _nested_vehicle_news_widgets[] = { }; static const WindowDesc _vehicle_news_desc( - WDP_MANUAL, 430, 170, + WDP_MANUAL, 0, 0, WC_NEWS_WINDOW, WC_NONE, 0, _nested_vehicle_news_widgets, lengthof(_nested_vehicle_news_widgets) @@ -164,7 +164,7 @@ static const NWidgetPart _nested_company_news_widgets[] = { }; static const WindowDesc _company_news_desc( - WDP_MANUAL, 430, 170, + WDP_MANUAL, 0, 0, WC_NEWS_WINDOW, WC_NONE, 0, _nested_company_news_widgets, lengthof(_nested_company_news_widgets) @@ -187,7 +187,7 @@ static const NWidgetPart _nested_thin_news_widgets[] = { }; static const WindowDesc _thin_news_desc( - WDP_MANUAL, 430, 130, + WDP_MANUAL, 0, 0, WC_NEWS_WINDOW, WC_NONE, 0, _nested_thin_news_widgets, lengthof(_nested_thin_news_widgets) @@ -211,7 +211,7 @@ static const NWidgetPart _nested_small_news_widgets[] = { }; static const WindowDesc _small_news_desc( - WDP_MANUAL, 280, 87, + WDP_MANUAL, 0, 0, WC_NEWS_WINDOW, WC_NONE, 0, _nested_small_news_widgets, lengthof(_nested_small_news_widgets) |