summaryrefslogtreecommitdiff
path: root/src/terraform_gui.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-10-04 17:10:57 +0000
committersmatz <smatz@openttd.org>2009-10-04 17:10:57 +0000
commit32cbe57178129d371752e29e857fa454a046f7c3 (patch)
treec1dd06f2f7e052ee5bbbe6e388d6546da67648a3 /src/terraform_gui.cpp
parent1666f7a1a926eec76a5ae12d54debf4f13bca269 (diff)
downloadopenttd-32cbe57178129d371752e29e857fa454a046f7c3.tar.xz
(svn r17692) -Codechange: minor coding style fixes
Diffstat (limited to 'src/terraform_gui.cpp')
-rw-r--r--src/terraform_gui.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/terraform_gui.cpp b/src/terraform_gui.cpp
index 35714f81d..1fee3d21c 100644
--- a/src/terraform_gui.cpp
+++ b/src/terraform_gui.cpp
@@ -660,7 +660,8 @@ struct ScenarioEditorLandscapeGenerationWindow : Window {
this->GetWidget<NWidgetCore>(ETTW_PLACE_DESERT_LIGHTHOUSE)->tool_tip = (_settings_game.game_creation.landscape == LT_TROPIC) ? STR_TERRAFORM_TOOLTIP_DEFINE_DESERT_AREA : STR_TERRAFORM_TOOLTIP_PLACE_LIGHTHOUSE;
}
- virtual void OnPaint() {
+ virtual void OnPaint()
+ {
this->DrawWidgets();
if (this->IsWidgetLowered(ETTW_LOWER_LAND) || this->IsWidgetLowered(ETTW_RAISE_LAND)) { // change area-size if raise/lower corner is selected