From 544325590c87cbcb6645b2b67c194a892e56ced7 Mon Sep 17 00:00:00 2001 From: belugas Date: Sat, 8 Dec 2007 01:20:47 +0000 Subject: (svn r11592) -Codechange: Use the Window member RaiseButtons and remove the now useless RaiseWindowButtons function --- src/industry_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/industry_gui.cpp') diff --git a/src/industry_gui.cpp b/src/industry_gui.cpp index 9593a593b..67356a802 100644 --- a/src/industry_gui.cpp +++ b/src/industry_gui.cpp @@ -248,7 +248,7 @@ static void BuildDynamicIndustryWndProc(Window *w, WindowEvent *e) if ((_game_mode != GM_EDITOR && _patches.raw_industry_construction == 2 && indsp != NULL && indsp->IsRawIndustry()) || WP(w, fnd_d).select == INVALID_INDUSTRYTYPE) { /* Reset the button state if going to prospecting or "build many industries" */ - RaiseWindowButtons(w); + w->RaiseButtons(); ResetObjectToPlace(); } } @@ -337,7 +337,7 @@ static void BuildDynamicIndustryWndProc(Window *w, WindowEvent *e) case WE_TIMEOUT: case WE_ABORT_PLACE_OBJ: - RaiseWindowButtons(w); + w->RaiseButtons(); break; } } -- cgit v1.2.3-54-g00ecf