summaryrefslogtreecommitdiff
path: root/industry_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
commit17eb65050b29b84e1a5b452d302c1a40931764cb (patch)
tree22b881cad1fc846e1fe14182d37c8f6e6261f820 /industry_gui.c
parentbdaab39e648891f3e86a290ade9b02fe4d215f45 (diff)
downloadopenttd-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 'industry_gui.c')
-rw-r--r--industry_gui.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/industry_gui.c b/industry_gui.c
index 49ee097ba..a0a51174c 100644
--- a/industry_gui.c
+++ b/industry_gui.c
@@ -50,8 +50,7 @@ static void BuildIndustryWndProc(Window *w, WindowEvent *e)
break;
case WE_ABORT_PLACE_OBJ:
- w->click_state = 0;
- SetWindowDirty(w);
+ RaiseWindowButtons(w);
break;
}
}