From 5d8c2fd502cd0074ab0c9a21726fd26089d8038f Mon Sep 17 00:00:00 2001 From: James Gilles Date: Tue, 2 Feb 2016 01:14:04 -0500 Subject: [PATCH] Fix whitespace --- plugins/zone.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/zone.cpp b/plugins/zone.cpp index 5b7aa28b8..b1edd2019 100644 --- a/plugins/zone.cpp +++ b/plugins/zone.cpp @@ -1461,7 +1461,7 @@ pair> createMaxAgeFilter(vector &filte // Sort of like filter function constructors. // Constructor functions are permitted to throw strings, which will be caught and printed. // Result filter functions are not permitted to throw std::exceptions. -// Result filter functions should not store references +// Result filter functions should not store references unordered_map>(vector&)>>> zone_param_filters = { { "race", { 1, createRaceFilter } }, @@ -1541,7 +1541,7 @@ command_result df_zone (color_ostream &out, vector & parameters) target_building = getAssignableBuildingAtCursor(out); if (target_building) { out.color(COLOR_BLUE); - out << "Current building set to #" + out << "Current building set to #" << target_building->id << endl; out.reset_color(); @@ -1849,7 +1849,7 @@ command_result df_zone (color_ostream &out, vector & parameters) // get results try { auto result_pair = filter_constructor(args); - string& desc = result_pair.first; + string& desc = result_pair.first; auto& filter = result_pair.second; if (invert_filter) { @@ -1975,7 +1975,7 @@ command_result df_zone (color_ostream &out, vector & parameters) return CR_FAILURE; } - else + else { out.color(COLOR_RED); out << "Cannot unassign units from this type of building!"