summaryrefslogtreecommitdiff
path: root/src/network
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
commit52982de589ece0b31a7c3254b49ff0ce6af76050 (patch)
tree498f6cc5fd7c130014a8bab926c22704143fcaaa /src/network
parent24bb768450a8e7a242dd905270c2f3f60b252906 (diff)
downloadopenttd-52982de589ece0b31a7c3254b49ff0ce6af76050.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/network')
-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);