diff options
author | rubidium <rubidium@openttd.org> | 2009-11-15 10:26:01 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-11-15 10:26:01 +0000 |
commit | 3d2d7af88f95c2eb4e349c537f74eaf02e8db7f0 (patch) | |
tree | 0bdb2f03353e6bb6431da2f85db3bfa1812ce348 /src/town_gui.cpp | |
parent | 1b72fa84e25c38d3642acf9a7cbbaf8d59ecb9e8 (diff) | |
download | openttd-3d2d7af88f95c2eb4e349c537f74eaf02e8db7f0.tar.xz |
(svn r18086) -Codechange: remove 'widget' from WindowDesc
Diffstat (limited to 'src/town_gui.cpp')
-rw-r--r-- | src/town_gui.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/town_gui.cpp b/src/town_gui.cpp index c5585a595..2e60e5704 100644 --- a/src/town_gui.cpp +++ b/src/town_gui.cpp @@ -270,7 +270,7 @@ static const WindowDesc _town_authority_desc( WDP_AUTO, WDP_AUTO, 317, 222, 317, 222, WC_TOWN_AUTHORITY, WC_NONE, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS, - NULL, _nested_town_authority_widgets, lengthof(_nested_town_authority_widgets) + _nested_town_authority_widgets, lengthof(_nested_town_authority_widgets) ); static void ShowTownAuthorityWindow(uint town) @@ -512,7 +512,7 @@ static const WindowDesc _town_game_view_desc( WDP_AUTO, WDP_AUTO, 260, TownViewWindow::TVW_HEIGHT_NORMAL, 260, TownViewWindow::TVW_HEIGHT_NORMAL, WC_TOWN_VIEW, WC_NONE, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON, - NULL, _nested_town_game_view_widgets, lengthof(_nested_town_game_view_widgets) + _nested_town_game_view_widgets, lengthof(_nested_town_game_view_widgets) ); static const NWidgetPart _nested_town_editor_view_widgets[] = { @@ -539,7 +539,7 @@ static const WindowDesc _town_editor_view_desc( WDP_AUTO, WDP_AUTO, 260, TownViewWindow::TVW_HEIGHT_NORMAL, 260, TownViewWindow::TVW_HEIGHT_NORMAL, WC_TOWN_VIEW, WC_NONE, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON, - NULL, _nested_town_editor_view_widgets, lengthof(_nested_town_editor_view_widgets) + _nested_town_editor_view_widgets, lengthof(_nested_town_editor_view_widgets) ); void ShowTownViewWindow(TownID town) @@ -830,7 +830,7 @@ static const WindowDesc _town_directory_desc( WDP_AUTO, WDP_AUTO, 208, 202, 208, 202, WC_TOWN_DIRECTORY, WC_NONE, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE, - NULL, _nested_town_directory_widgets, lengthof(_nested_town_directory_widgets) + _nested_town_directory_widgets, lengthof(_nested_town_directory_widgets) ); void ShowTownDirectory() @@ -1106,7 +1106,7 @@ static const WindowDesc _found_town_desc( WDP_AUTO, WDP_AUTO, 160, 162, 160, 162, WC_FOUND_TOWN, WC_NONE, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON | WDF_CONSTRUCTION, - NULL, _nested_found_town_widgets, lengthof(_nested_found_town_widgets) + _nested_found_town_widgets, lengthof(_nested_found_town_widgets) ); void ShowFoundTownWindow() |