summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/xom.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/xom.cc')
-rw-r--r--crawl-ref/source/xom.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/crawl-ref/source/xom.cc b/crawl-ref/source/xom.cc
index dcb662fa87..845311f06a 100644
--- a/crawl-ref/source/xom.cc
+++ b/crawl-ref/source/xom.cc
@@ -17,6 +17,7 @@ REVISION("$Rev$");
#include "effects.h"
#include "it_use2.h"
#include "items.h"
+#include "Kills.h"
#include "makeitem.h"
#include "message.h"
#include "misc.h"
@@ -641,9 +642,7 @@ static void _do_chaos_upgrade(item_def &item, const monsters* mon)
description_level_type desc = mons_friendly(mon) ? DESC_CAP_YOUR :
DESC_CAP_THE;
- std::string msg = mon->name(desc);
- msg += "'s ";
- msg = replace_all(msg, "s's", "s'"); // Proper possessive.
+ std::string msg = apostrophise(mon->name(desc));
msg += item.name(DESC_PLAIN, false, false, false);