From eeb6381690503c6122b464150c6b2ffdc855b251 Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 15 May 2008 19:00:20 +0000 Subject: (svn r13106) -Codechange: rework the toolbar code a little so functions do not have to return the Window they just created. --- src/main_gui.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/main_gui.cpp') diff --git a/src/main_gui.cpp b/src/main_gui.cpp index 97caa6b39..afd874643 100644 --- a/src/main_gui.cpp +++ b/src/main_gui.cpp @@ -435,8 +435,7 @@ extern void ShowStatusBar(); void ShowVitalWindows() { - Window *w = AllocateToolbar(); - DoZoomInOutWindow(ZOOM_NONE, w); + AllocateToolbar(); /* Status bad only for normal games */ if (_game_mode == GM_EDITOR) return; -- cgit v1.2.3-70-g09d2