summaryrefslogtreecommitdiff
path: root/terraform_gui.c
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2006-10-03 20:16:20 +0000
committerbelugas <belugas@openttd.org>2006-10-03 20:16:20 +0000
commit688da1d9406cbd6fb359605de0d5c43c77f7a8ea (patch)
tree22b881cad1fc846e1fe14182d37c8f6e6261f820 /terraform_gui.c
parent0dd2126543cb5613272876114a89fdbcbadeb21c (diff)
downloadopenttd-688da1d9406cbd6fb359605de0d5c43c77f7a8ea.tar.xz
(svn r6631) -Codechange: Use accessors for click_state.
Another step toward merging XTDwidget. The only two files not converted (window.h and widget.c) will be done at the very last commit)
Diffstat (limited to 'terraform_gui.c')
-rw-r--r--terraform_gui.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/terraform_gui.c b/terraform_gui.c
index eee61dcb0..36049dfde 100644
--- a/terraform_gui.c
+++ b/terraform_gui.c
@@ -242,8 +242,7 @@ static void TerraformToolbWndProc(Window *w, WindowEvent *e)
break;
case WE_ABORT_PLACE_OBJ:
- UnclickWindowButtons(w);
- SetWindowDirty(w);
+ RaiseWindowButtons(w);
break;
}
}