diff options
Diffstat (limited to 'src/genworld_gui.cpp')
-rw-r--r-- | src/genworld_gui.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/genworld_gui.cpp b/src/genworld_gui.cpp index 1e6914696..a9fb68a05 100644 --- a/src/genworld_gui.cpp +++ b/src/genworld_gui.cpp @@ -547,8 +547,7 @@ struct GenerateLandscapeWindow : public QueryStringBaseWindow { case WID_GL_RANDOM_BUTTON: // Random seed _settings_newgame.game_creation.generation_seed = InteractiveRandom(); - snprintf(this->edit_str_buf, this->edit_str_size, "%u", _settings_newgame.game_creation.generation_seed); - this->text.UpdateSize(); + this->text.Print("%u", _settings_newgame.game_creation.generation_seed); this->SetDirty(); break; |