summaryrefslogtreecommitdiff
path: root/src/melee2.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-12-11 08:09:30 +0100
committerBardur Arantsson <bardur@scientician.net>2015-12-11 08:09:30 +0100
commit5ce1ccafa65c5cfbcd0f4431f51abfa1d700a885 (patch)
treea788b50131527a2464b52a47f346023fa64071bf /src/melee2.cc
parent97bcf1bc612d9920390c885b8dcea0b0cda6f246 (diff)
Remove strfmt()
Diffstat (limited to 'src/melee2.cc')
-rw-r--r--src/melee2.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/melee2.cc b/src/melee2.cc
index ce2f11a2..b3aa5c61 100644
--- a/src/melee2.cc
+++ b/src/melee2.cc
@@ -5673,7 +5673,7 @@ static bool_ monst_attack_monst(int m_idx, int t_idx)
/* Message */
if (act)
{
- strfmt(temp, act, t_name);
+ strnfmt(temp, sizeof(temp), act, t_name);
if (m_ptr->ml || t_ptr->ml)
monster_msg("%^s %s", m_name, temp);