summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-07-23 13:10:08 +0000
committerrubidium <rubidium@openttd.org>2008-07-23 13:10:08 +0000
commit59d815b391ecfbc935b564b512177a4fcfb2dcf9 (patch)
tree498f6cc5fd7c130014a8bab926c22704143fcaaa /src
parentf0fd3f6c5769435de98ec51c08df47cdd09e1119 (diff)
downloadopenttd-59d815b391ecfbc935b564b512177a4fcfb2dcf9.tar.xz
(svn r13796) -Fix [FS#2161]: one couldn't start the last scenario in the "start server window"'s list of scenarios.
Diffstat (limited to 'src')
-rw-r--r--src/network/network_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp
index 3d88f82d1..fef126e6f 100644
--- a/src/network/network_gui.cpp
+++ b/src/network/network_gui.cpp
@@ -767,7 +767,7 @@ struct NetworkStartServerWindow : public QueryStringBaseWindow {
_saveload_mode = SLD_NEW_GAME;
BuildFileList();
this->vscroll.cap = 12;
- this->vscroll.count = _fios_items.Length();
+ this->vscroll.count = _fios_items.Length() + 1;
this->afilter = CS_ALPHANUMERAL;
InitializeTextBuffer(&this->text, this->edit_str_buf, lengthof(this->edit_str_buf), 160);