diff options
author | rubidium <rubidium@openttd.org> | 2009-03-14 18:16:29 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-03-14 18:16:29 +0000 |
commit | f3e0fd741679ff8c447277ec32ff5caf0571fe36 (patch) | |
tree | 52ab96dc0e1aa14f6c966c67c4a94ba1762f9c15 /src/genworld_gui.cpp | |
parent | 81361189caa5b90236b67ed5b32b3b4f0bb00f3e (diff) | |
download | openttd-f3e0fd741679ff8c447277ec32ff5caf0571fe36.tar.xz |
(svn r15711) -Codechange: lots of whitespace cleanup/fixes
Diffstat (limited to 'src/genworld_gui.cpp')
-rw-r--r-- | src/genworld_gui.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/genworld_gui.cpp b/src/genworld_gui.cpp index 1dcd36dc7..c2a8d17b9 100644 --- a/src/genworld_gui.cpp +++ b/src/genworld_gui.cpp @@ -555,10 +555,9 @@ struct GenerateLandscapeWindow : public QueryStringBaseWindow { EventState state; this->HandleEditBoxKey(GLAND_RANDOM_EDITBOX, key, keycode, state); /* the seed is unsigned, therefore atoi cannot be used. - * As 2^32 - 1 (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. */ + * 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); return state; } |