summaryrefslogtreecommitdiff
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
commite4be8c6e70d8e68ab30d272d769eaa05a76ae0cf (patch)
treeccef324c9491504a73aa9a50ae0bf0f3f47fe6f7
parentfeebf3f3c9880eb3c2f57fd96b8a13a4c6a8eb66 (diff)
downloadopenttd-e4be8c6e70d8e68ab30d272d769eaa05a76ae0cf.tar.xz
(svn r13260) -Fix: linked terraform toolbar wasn't marked dirty after moving
-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();
}
}