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/misc_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/misc_gui.cpp')
-rw-r--r-- | src/misc_gui.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp index 424394742..e6d2b0025 100644 --- a/src/misc_gui.cpp +++ b/src/misc_gui.cpp @@ -497,7 +497,7 @@ static const NWidgetPart _nested_errmsg_widgets[] = { }; static const WindowDesc _errmsg_desc( - WDP_MANUAL, 240, 46, + WDP_MANUAL, 0, 0, WC_ERRMSG, WC_NONE, 0, _nested_errmsg_widgets, lengthof(_nested_errmsg_widgets) @@ -517,7 +517,7 @@ static const NWidgetPart _nested_errmsg_face_widgets[] = { }; static const WindowDesc _errmsg_face_desc( - WDP_MANUAL, 334, 137, + WDP_MANUAL, 0, 0, WC_ERRMSG, WC_NONE, 0, _nested_errmsg_face_widgets, lengthof(_nested_errmsg_face_widgets) @@ -1428,7 +1428,7 @@ static const NWidgetPart _nested_query_string_widgets[] = { }; static const WindowDesc _query_string_desc( - WDP_AUTO, 260, 42, + WDP_AUTO, 0, 0, WC_QUERY_STRING, WC_NONE, 0, _nested_query_string_widgets, lengthof(_nested_query_string_widgets) @@ -1581,7 +1581,7 @@ static const NWidgetPart _nested_query_widgets[] = { }; static const WindowDesc _query_desc( - WDP_CENTER, 210, 82, + WDP_CENTER, 0, 0, WC_CONFIRM_POPUP_QUERY, WC_NONE, WDF_UNCLICK_BUTTONS | WDF_MODAL, _nested_query_widgets, lengthof(_nested_query_widgets) |