summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/randart.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/randart.cc')
-rw-r--r--crawl-ref/source/randart.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/randart.cc b/crawl-ref/source/randart.cc
index ec38bcea9f..a7c06c1a05 100644
--- a/crawl-ref/source/randart.cc
+++ b/crawl-ref/source/randart.cc
@@ -203,6 +203,12 @@ static std::string replace_name_parts(const std::string name_in,
name = replace_all(name, "@god_name@", god_name(which_god, false));
}
+ // copied from monster speech handling (mon-util.cc):
+ // The proper possessive for a word ending in an "s" is to
+ // put an apostrophe after the "s": "Chris" -> "Chris'",
+ // not "Chris" -> "Chris's". Stupid English language...
+ name = replace_all(name, "s's", "s'");
+
return name;
}