summaryrefslogtreecommitdiff
path: root/src/toolbar_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-03-14 18:16:29 +0000
committerrubidium <rubidium@openttd.org>2009-03-14 18:16:29 +0000
commit9d018723b7bab3341cd455708a6cd98283d75c34 (patch)
tree52ab96dc0e1aa14f6c966c67c4a94ba1762f9c15 /src/toolbar_gui.cpp
parent1692ce83122d1ed15206f160aea339761b173174 (diff)
downloadopenttd-9d018723b7bab3341cd455708a6cd98283d75c34.tar.xz
(svn r15711) -Codechange: lots of whitespace cleanup/fixes
Diffstat (limited to 'src/toolbar_gui.cpp')
-rw-r--r--src/toolbar_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/toolbar_gui.cpp b/src/toolbar_gui.cpp
index 3b195f596..c1ab2a04a 100644
--- a/src/toolbar_gui.cpp
+++ b/src/toolbar_gui.cpp
@@ -1032,8 +1032,8 @@ struct MainToolbarWindow : Window {
GfxFillRect(0, 0, this->width - 1, this->height - 1, 0xB4, FILLRECT_CHECKER);
/* If spectator, disable all construction buttons
- * ie : Build road, rail, ships, airports and landscaping
- * Since enabled state is the default, just disable when needed */
+ * ie : Build road, rail, ships, airports and landscaping
+ * Since enabled state is the default, just disable when needed */
this->SetWidgetsDisabledState(_local_company == COMPANY_SPECTATOR, TBN_RAILS, TBN_ROADS, TBN_WATER, TBN_AIR, TBN_LANDSCAPE, WIDGET_LIST_END);
/* disable company list drop downs, if there are no companies */
this->SetWidgetsDisabledState(ActiveCompanyCount() == TBN_PAUSE, TBN_STATIONS, TBN_FINANCES, TBN_TRAINS, TBN_ROADVEHS, TBN_SHIPS, TBN_AIRCRAFTS, WIDGET_LIST_END);