(svn r13796) -Fix [FS#2161]: one couldn't start the last scenario in the "start server window"'s list of scenarios.
authorrubidium
Wed, 23 Jul 2008 13:10:08 +0000
changeset 9690 6ce3777235e2
parent 9689 0a506f06cbd2
child 9691 3c3c3e237839
(svn r13796) -Fix [FS#2161]: one couldn't start the last scenario in the "start server window"'s list of scenarios.
src/network/network_gui.cpp
--- a/src/network/network_gui.cpp	Tue Jul 22 23:45:55 2008 +0000
+++ b/src/network/network_gui.cpp	Wed Jul 23 13:10:08 2008 +0000
@@ -767,7 +767,7 @@
 		_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);