(svn r24740) -Codechange: Remove duplicate members from QueryStringBaseWindow and directly use QueryString.

This commit is contained in:
frosch
2012-11-14 22:50:26 +00:00
parent 838388dcd5
commit ec27bcb6a6
11 changed files with 20 additions and 24 deletions

View File

@@ -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);
}
}