Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: missing spaces #66797

Merged
merged 3 commits into from
Jul 11, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/item_pocket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1196,7 +1196,7 @@ void item_pocket::contents_info( std::vector<iteminfo> &info, int pocket_number,
const std::vector<damage_info_order> &all_ablate = damage_info_order::get_all(
damage_info_order::info_type::ABLATE );
for( const damage_info_order &dio : all_ablate ) {
std::string label = string_format( idx == 0 ? _( "<bold>Protection</bold>: %s: " ) : "%s: ",
std::string label = string_format( idx == 0 ? _( "<bold>Protection</bold>: %s: " ) : " %s: ",
casswedson marked this conversation as resolved.
Show resolved Hide resolved
uppercase_first_letter( dio.dmg_type->name.translated() ) );
iteminfo::flags flgs = idx == all_ablate.size() - 1 ?
iteminfo::is_decimal : iteminfo::no_newline | iteminfo::is_decimal;
Expand Down
2 changes: 1 addition & 1 deletion src/melee.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2635,7 +2635,7 @@ void player_hit_message( Character *attacker, const std::string &message,
//Player won't see exact numbers of damage dealt by NPC unless player has DEBUG_NIGHTVISION trait
if( attacker->is_npc() && !player_character.has_trait( trait_DEBUG_NIGHTVISION ) ) {
//~ NPC hits something (critical)
msg = string_format( _( "%s. Critical!" ), message );
msg = string_format( _( "%s. Critical!" ), message );
} else if( technique && !wp_hit.empty() ) {
//~ %1$s: "someone hits something", %2$d: damage dealt, %3$s: the weakpoint hit
msg = string_format( _( "%1$s for %2$d damage, and hit it in %3$s. Critical!" ), message, dam,
Expand Down