From e707c824126ff8de5903d7c94f332d670529318a Mon Sep 17 00:00:00 2001 From: smatz Date: Sun, 9 Aug 2009 14:40:34 +0000 Subject: (svn r17131) -Codechange: apply coding style to some switch statements --- src/settings_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/settings_gui.cpp') diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp index 44bbed511..71d6931e3 100644 --- a/src/settings_gui.cpp +++ b/src/settings_gui.cpp @@ -824,7 +824,7 @@ void SettingEntry::Init(byte level, bool last_field) /** Recursively close all folds of sub-pages */ void SettingEntry::FoldAll() { - switch(this->flags & SEF_KIND_MASK) { + switch (this->flags & SEF_KIND_MASK) { case SEF_SETTING_KIND: break; @@ -940,7 +940,7 @@ uint SettingEntry::Draw(GameSettings *settings_ptr, int base_x, int base_y, int x += LEVEL_WIDTH; } - switch(this->flags & SEF_KIND_MASK) { + switch (this->flags & SEF_KIND_MASK) { case SEF_SETTING_KIND: if (cur_row >= first_row) { DrawSetting(settings_ptr, this->d.entry.setting, x, y, max_x, this->flags & SEF_BUTTONS_MASK); -- cgit v1.2.3-70-g09d2