diff options
author | rubidium <rubidium@openttd.org> | 2009-03-14 18:16:29 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-03-14 18:16:29 +0000 |
commit | 9d018723b7bab3341cd455708a6cd98283d75c34 (patch) | |
tree | 52ab96dc0e1aa14f6c966c67c4a94ba1762f9c15 /src/network/network_gui.cpp | |
parent | 1692ce83122d1ed15206f160aea339761b173174 (diff) | |
download | openttd-9d018723b7bab3341cd455708a6cd98283d75c34.tar.xz |
(svn r15711) -Codechange: lots of whitespace cleanup/fixes
Diffstat (limited to 'src/network/network_gui.cpp')
-rw-r--r-- | src/network/network_gui.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp index 75046e487..6190f78a8 100644 --- a/src/network/network_gui.cpp +++ b/src/network/network_gui.cpp @@ -713,8 +713,8 @@ public: SetVScrollCount(this, this->servers.Length()); /* Additional colums in server list */ - if (this->width > NetworkGameWindow::MIN_EXTRA_COLUMNS_WIDTH + GetWidgetWidth(NGWW_MAPSIZE) - + GetWidgetWidth(NGWW_DATE) + GetWidgetWidth(NGWW_YEARS)) { + if (this->width > NetworkGameWindow::MIN_EXTRA_COLUMNS_WIDTH + GetWidgetWidth(NGWW_MAPSIZE) + + GetWidgetWidth(NGWW_DATE) + GetWidgetWidth(NGWW_YEARS)) { /* show columns 'Map size', 'Date' and 'Years' */ this->SetWidgetsHiddenState(false, NGWW_MAPSIZE, NGWW_DATE, NGWW_YEARS, WIDGET_LIST_END); AlignWidgetRight(NGWW_YEARS, NGWW_INFO); @@ -1028,7 +1028,7 @@ struct NetworkStartServerWindow : public QueryStringBaseWindow { case NSSW_LOAD: // Load game _is_network_server = true; /* XXX - WC_NETWORK_WINDOW (this window) should stay, but if it stays, it gets - * copied all the elements of 'load game' and upon closing that, it segfaults */ + * copied all the elements of 'load game' and upon closing that, it segfaults */ delete this; ShowSaveLoadDialog(SLD_LOAD_GAME); break; |