Skip to content

Commit

Permalink
add missing case for clang
Browse files Browse the repository at this point in the history
  • Loading branch information
schombert committed Dec 3, 2023
1 parent a10d725 commit 3917251
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui/gui_minimap.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ class minimap_mapmode_button : public checkbox_button {
void update_tooltip(sys::state& state, int32_t x, int32_t t, text::columnar_layout& contents) noexcept override {
auto box = text::open_layout_box(contents, 0);
switch(target) {
case map_mode::mode::state_select:
break; // doesn't appear as a button
case map_mode::mode::admin:
text::localised_format_box(state, contents, box, std::string_view("mapmode_8"));
break;
Expand Down

0 comments on commit 3917251

Please sign in to comment.