OSDN Git Service
(root)
/
hengbandforosx
/
hengbandosx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f81580
)
English: add colon and space after prompt for last words
author
Eric Branlund
<ebranlund@fastmail.com>
Fri, 4 Aug 2023 21:42:11 +0000
(15:42 -0600)
committer
Eric Branlund
<ebranlund@fastmail.com>
Fri, 4 Aug 2023 21:42:11 +0000
(15:42 -0600)
Resolves https://github.com/hengband/hengband/issues/3583 .
src/player/player-damage.cpp
patch
|
blob
|
history
diff --git
a/src/player/player-damage.cpp
b/src/player/player-damage.cpp
index
4f7c84d
..
3fdbe60
100644
(file)
--- a/
src/player/player-damage.cpp
+++ b/
src/player/player-damage.cpp
@@
-471,7
+471,7
@@
int take_hit(PlayerType *player_ptr, int damage_type, int damage, std::string_vi
auto &death_message = death_message_opt.value();
constexpr auto max_last_words = 1024;
- const auto prompt = winning_seppuku ? _("辞世の句: ", "Haiku
") : _("断末魔の叫び: ", "Last words
");
+ const auto prompt = winning_seppuku ? _("辞世の句: ", "Haiku
: ") : _("断末魔の叫び: ", "Last words:
");
while (true) {
const auto input_last_words = input_string(prompt, max_last_words, death_message);
if (!input_last_words.has_value()) {