Mercurial > hg > openttd
changeset 15537:f22dfb883f32 draft
(svn r20196) -Fix: Remove autofocus of the edit box in the world generation window.
author | terkhen <terkhen@openttd.org> |
---|---|
date | Mon, 19 Jul 2010 20:57:13 +0000 |
parents | f514322e901d |
children | c5112b62a99e |
files | src/genworld_gui.cpp |
diffstat | 1 files changed, 0 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/genworld_gui.cpp +++ b/src/genworld_gui.cpp @@ -357,7 +357,6 @@ /* snprintf() always outputs trailing '\0', so whole buffer can be used */ snprintf(this->edit_str_buf, this->edit_str_size, "%u", _settings_newgame.game_creation.generation_seed); InitializeTextBuffer(&this->text, this->edit_str_buf, this->edit_str_size, 120); - this->SetFocusedWidget(GLAND_RANDOM_EDITBOX); this->caption = STR_NULL; this->afilter = CS_NUMERAL;