summaryrefslogtreecommitdiff
path: root/src/settings_gui.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-08-09 14:40:34 +0000
committersmatz <smatz@openttd.org>2009-08-09 14:40:34 +0000
commite707c824126ff8de5903d7c94f332d670529318a (patch)
tree9e51369165d8d8bfd6c03cc48386349886c0568f /src/settings_gui.cpp
parent05a65dcc126d749e569562412c9b38ca6439eaf3 (diff)
downloadopenttd-e707c824126ff8de5903d7c94f332d670529318a.tar.xz
(svn r17131) -Codechange: apply coding style to some switch statements
Diffstat (limited to 'src/settings_gui.cpp')
-rw-r--r--src/settings_gui.cpp4
1 files changed, 2 insertions, 2 deletions
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);