summaryrefslogtreecommitdiff
path: root/src/terraform_gui.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-05-26 10:41:30 +0000
committersmatz <smatz@openttd.org>2008-05-26 10:41:30 +0000
commitd969edaa8f351d052597fae72ac3c2c904dcd51e (patch)
treeccef324c9491504a73aa9a50ae0bf0f3f47fe6f7 /src/terraform_gui.cpp
parentbd5f782c6170a9bd2a32e68134f88e2904b6b284 (diff)
downloadopenttd-d969edaa8f351d052597fae72ac3c2c904dcd51e.tar.xz
(svn r13260) -Fix: linked terraform toolbar wasn't marked dirty after moving
Diffstat (limited to 'src/terraform_gui.cpp')
-rw-r--r--src/terraform_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/terraform_gui.cpp b/src/terraform_gui.cpp
index 4e8e82251..165183a1c 100644
--- a/src/terraform_gui.cpp
+++ b/src/terraform_gui.cpp
@@ -340,8 +340,8 @@ void ShowTerraformToolbar(Window *link)
* toolbar to left of it
*/
w->top = 22;
+ w->SetDirty();
link->left = w->left - link->width;
-
link->SetDirty();
}
}