summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-02 04:23:43 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-02 04:23:43 +0000
commit196478b990026d562ba1aeeeec5b4402bb477e50 (patch)
tree369058abdd2fefa37b1d624bf133b3a875be001e /crawl-ref
parenteea780a4ce6f65322040c52a49a56a3a60003249 (diff)
downloadcrawl-ref-196478b990026d562ba1aeeeec5b4402bb477e50.tar.gz
crawl-ref-196478b990026d562ba1aeeeec5b4402bb477e50.zip
Add still more miscellaneous minor fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6321 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/mon-util.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc
index 1c1a22e2ae..92fa662ddd 100644
--- a/crawl-ref/source/mon-util.cc
+++ b/crawl-ref/source/mon-util.cc
@@ -5219,8 +5219,8 @@ void monsters::remove_enchantment_effect(const mon_enchant &me, bool quiet)
case ENCH_FEAR:
if (holiness() == MH_NONLIVING || has_ench(ENCH_BERSERK))
{
- // This should only happen because of fleeing Sanctuary
- strcpy( info, " stops retreating.");
+ // This should only happen because of fleeing sanctuary
+ snprintf( info, INFO_SIZE, " stops retreating.");
}
else
{