diff options
author | rubidium <rubidium@openttd.org> | 2008-07-23 13:10:08 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-07-23 13:10:08 +0000 |
commit | 59d815b391ecfbc935b564b512177a4fcfb2dcf9 (patch) | |
tree | 498f6cc5fd7c130014a8bab926c22704143fcaaa /src/network/network_gui.cpp | |
parent | f0fd3f6c5769435de98ec51c08df47cdd09e1119 (diff) | |
download | openttd-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/network/network_gui.cpp')
-rw-r--r-- | src/network/network_gui.cpp | 2 |
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); |