From ff32ea24fc031a7d3c3ca259cd75bbee48a9cb96 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 28 Nov 2009 13:38:34 +0000 Subject: (svn r18311) -Codechange: no need to hardcode locations of some 'random' windows --- src/news_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/news_gui.cpp') 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) -- cgit v1.2.3-54-g00ecf