summaryrefslogtreecommitdiff
path: root/src/genworld_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/genworld_gui.cpp')
-rw-r--r--src/genworld_gui.cpp6
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++) {