Skip to content

Commit

Permalink
Cleaned up cases of ;;
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
Vultraz committed Feb 4, 2018
1 parent e00ed07 commit ae48811
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/gui/dialogs/game_stats.cpp
Expand Up @@ -201,7 +201,7 @@ void game_stats::pre_show(window& window)
column_settings["label"] = team.uses_fog() ? _("yes") : _("no");
row_data_settings.emplace("team_fog", column_settings);

column_settings["label"] = team.uses_shroud() ? _("yes") : _("no");;
column_settings["label"] = team.uses_shroud() ? _("yes") : _("no");
row_data_settings.emplace("team_shroud", column_settings);

settings_list.add_row(row_data_settings);
Expand Down
2 changes: 1 addition & 1 deletion src/gui/widgets/toggle_panel.hpp
Expand Up @@ -92,7 +92,7 @@ class toggle_panel : public panel, public selectable_item
/** Inherited from selectable_item */
unsigned get_value() const override
{
return state_num_;;
return state_num_;
}

/** Inherited from selectable_item */
Expand Down
2 changes: 1 addition & 1 deletion src/image_modifications.cpp
Expand Up @@ -455,7 +455,7 @@ surface light_modification::operator()(const surface& src) const {
nsurf = make_neutral_surface(surf_);
}

return light_surface(src, nsurf);;
return light_surface(src, nsurf);
}

surface scale_modification::operator()(const surface& src) const
Expand Down
2 changes: 1 addition & 1 deletion src/scripting/lua_unit_type.cpp
Expand Up @@ -238,5 +238,5 @@ const unit_type* luaW_tounittype(lua_State* L, int idx)

const unit_type& luaW_checkunittype(lua_State* L, int idx)
{
return **static_cast<const unit_type**>(luaL_checkudata(L, idx, UnitType));;
return **static_cast<const unit_type**>(luaL_checkudata(L, idx, UnitType));
}
4 changes: 2 additions & 2 deletions src/serialization/string_utils.cpp
Expand Up @@ -253,7 +253,7 @@ std::vector<std::string> square_parenthetical_split(const std::string& val,
}

if(!part.empty()){
ERR_GENERAL << "Mismatched parenthesis:\n"<<val<< std::endl;;
ERR_GENERAL << "Mismatched parenthesis:\n"<<val<< std::endl;
}

return res;
Expand Down Expand Up @@ -376,7 +376,7 @@ std::vector<std::string> parenthetical_split(const std::string& val,
res.push_back(std::move(new_val));

if(!part.empty()){
ERR_GENERAL << "Mismatched parenthesis:\n"<<val<< std::endl;;
ERR_GENERAL << "Mismatched parenthesis:\n"<<val<< std::endl;
}

return res;
Expand Down
2 changes: 1 addition & 1 deletion src/units/unit.cpp
Expand Up @@ -1965,7 +1965,7 @@ void unit::apply_builtin_effect(std::string apply_to, const config& effect)
max_experience_ = utils::apply_modifier(max_experience_, increase, 1);
}
} else if(apply_to == upkeep_loyal::type()) {
upkeep_ = upkeep_loyal();;
upkeep_ = upkeep_loyal();
} else if(apply_to == "status") {
const std::string& add = effect["add"];
const std::string& remove = effect["remove"];
Expand Down

0 comments on commit ae48811

Please sign in to comment.