diff options
author | belugas <belugas@openttd.org> | 2006-10-03 20:16:20 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2006-10-03 20:16:20 +0000 |
commit | 17eb65050b29b84e1a5b452d302c1a40931764cb (patch) | |
tree | 22b881cad1fc846e1fe14182d37c8f6e6261f820 /terraform_gui.c | |
parent | bdaab39e648891f3e86a290ade9b02fe4d215f45 (diff) | |
download | openttd-17eb65050b29b84e1a5b452d302c1a40931764cb.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.c | 3 |
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; } } |