Skip to content

Commit

Permalink
Fix my curly braces
Browse files Browse the repository at this point in the history
  • Loading branch information
Kilvoctu committed May 6, 2020
1 parent 882f307 commit b72c238
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ranged.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1344,7 +1344,7 @@ static int print_ranged_chance( const player &p, const catacurses::window &w, in
}
}
aim_iter++;
} else }
} else {
int last_chance = 0;
std::string confidence_s = enumerate_as_string( confidence_config.begin(), confidence_config.end(),
[&]( const confidence_rating & config ) {
Expand All @@ -1356,6 +1356,7 @@ static int print_ranged_chance( const player &p, const catacurses::window &w, in
}, enumeration_conjunction::none );
line_number += fold_and_print_from( w, point( 1, line_number ), window_width, 0,
c_dark_gray, confidence_s );
}
} else {
std::vector<std::tuple<double, char, std::string>> confidence_ratings;
std::transform( confidence_config.begin(), confidence_config.end(),
Expand Down

0 comments on commit b72c238

Please sign in to comment.