Skip to content

Commit

Permalink
clang tidy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KorGgenT committed May 15, 2020
1 parent 9b1ee22 commit 9fc3ba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/item.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2949,8 +2949,8 @@ void item::tool_info( std::vector<iteminfo> &info, const iteminfo_query *parts,
} else if( !ammo_types().empty() && parts->test( iteminfo_parts::TOOL_CAPACITY ) ) {
if( !ammo_types().empty() ) {
for( const ammotype &at : ammo_types() ) {
//~ "%s" is ammunition type. This types can't be plural.
info.emplace_back( "TOOL", string_format(
//~ "%s" is ammunition type. This types can't be plural.
ngettext( "Maximum <num> charge of %s.", "Maximum <num> charges of %s.",
ammo_capacity( at ) ), at->name() ) );
}
Expand Down

0 comments on commit 9fc3ba3

Please sign in to comment.