summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/notes.cc
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2013-01-26 16:39:22 -0600
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2013-01-26 16:56:49 -0600
commit8dc2fcd8fa9e610094c9a25f18328f6dd0f72337 (patch)
tree53e4140814aa24a8e3bee8d09231de8583e5d479 /crawl-ref/source/notes.cc
parent7c25ddd110bc6c23e8a4701225f79a11c04836db (diff)
downloadcrawl-ref-8dc2fcd8fa9e610094c9a25f18328f6dd0f72337.tar.gz
crawl-ref-8dc2fcd8fa9e610094c9a25f18328f6dd0f72337.zip
Properly apostrophize a few god names instead of hardcoding them.
Diffstat (limited to 'crawl-ref/source/notes.cc')
-rw-r--r--crawl-ref/source/notes.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/notes.cc b/crawl-ref/source/notes.cc
index a56b87efa4..da90f5789c 100644
--- a/crawl-ref/source/notes.cc
+++ b/crawl-ref/source/notes.cc
@@ -321,7 +321,8 @@ string Note::describe(bool when, bool where, bool what) const
break;
case NOTE_GOD_POWER:
result << "Acquired "
- << god_name(static_cast<god_type>(first)) << "'s "
+ << apostrophise(god_name(static_cast<god_type>(first)))
+ << " "
<< _number_to_ordinal(_real_god_power(first, second)+1)
<< " power";
break;