diff options
author | frosch <frosch@openttd.org> | 2012-11-14 22:50:26 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-11-14 22:50:26 +0000 |
commit | 6e6d94a2d14a50ad93577a4b030f25f8b64986b1 (patch) | |
tree | 17083b427a8977d182654b30e59c59a368a7856f /src/genworld_gui.cpp | |
parent | 6653ac6b362cf88a6b77a4e8dd3c6926885c6b5f (diff) | |
download | openttd-6e6d94a2d14a50ad93577a4b030f25f8b64986b1.tar.xz |
(svn r24740) -Codechange: Remove duplicate members from QueryStringBaseWindow and directly use QueryString.
Diffstat (limited to 'src/genworld_gui.cpp')
-rw-r--r-- | src/genworld_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/genworld_gui.cpp b/src/genworld_gui.cpp index a9fb68a05..36b785b3e 100644 --- a/src/genworld_gui.cpp +++ b/src/genworld_gui.cpp @@ -698,7 +698,7 @@ struct GenerateLandscapeWindow : public QueryStringBaseWindow { * As UINT32_MAX is a 'magic' value (use random seed) it * should not be possible to be entered into the input * field; the generate seed button can be used instead. */ - _settings_newgame.game_creation.generation_seed = minu(strtoul(this->edit_str_buf, NULL, 10), UINT32_MAX - 1); + _settings_newgame.game_creation.generation_seed = minu(strtoul(this->text.buf, NULL, 10), UINT32_MAX - 1); } } |