From 17eb65050b29b84e1a5b452d302c1a40931764cb Mon Sep 17 00:00:00 2001 From: belugas Date: Tue, 3 Oct 2006 20:16:20 +0000 Subject: (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) --- industry_gui.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'industry_gui.c') 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; } } -- cgit v1.2.3-70-g09d2