diff options
author | rubidium <rubidium@openttd.org> | 2010-08-01 18:53:30 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-08-01 18:53:30 +0000 |
commit | e356cb94050797cccbf05b3a411105528da8ee90 (patch) | |
tree | 3d98354dc5983a03e685f116b1b5c5b73607de0f /src/genworld_gui.cpp | |
parent | 605f6d0ed3c81a77d533f3db40ed50350d57536c (diff) | |
download | openttd-e356cb94050797cccbf05b3a411105528da8ee90.tar.xz |
(svn r20281) -Codechange: unify case scope closure + break coding style
Diffstat (limited to 'src/genworld_gui.cpp')
-rw-r--r-- | src/genworld_gui.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/genworld_gui.cpp b/src/genworld_gui.cpp index 5c67e7ab0..53239433b 100644 --- a/src/genworld_gui.cpp +++ b/src/genworld_gui.cpp @@ -515,7 +515,8 @@ struct GenerateLandscapeWindow : public QueryStringBaseWindow { * outer most boundaries (left and right) as draw locations. */ const NWidgetBase *nwi_spacer = this->GetWidget<NWidgetBase>(GLAND_HEIGHTMAP_NAME_SPACER); DrawString(min(r.left, nwi_spacer->pos_x), max<int>(r.right, nwi_spacer->pos_x + nwi_spacer->current_x), r.top, this->name, TC_ORANGE); - } break; + break; + } } } @@ -1199,7 +1200,8 @@ struct GenerateProgressWindow : public Window { /* We need some spacing for the 'border' */ size->height += 8; size->width += 8; - } break; + break; + } case GPWW_PROGRESS_TEXT: for (uint i = 0; i < GWP_CLASS_COUNT; i++) { |