diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-05 01:57:53 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-05 01:57:53 +0000 |
commit | a16fbb39e54f26bff012d0b27a5b1d8d48849faf (patch) | |
tree | 9ab63674c189e3851f5564de3e33084cfc252f84 /crawl-ref/source/libutil.cc | |
parent | 0e94dff22d8b71060ef1de50aa53c9374de3284e (diff) | |
download | crawl-ref-a16fbb39e54f26bff012d0b27a5b1d8d48849faf.tar.gz crawl-ref-a16fbb39e54f26bff012d0b27a5b1d8d48849faf.zip |
Comment fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5480 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/libutil.cc')
-rw-r--r-- | crawl-ref/source/libutil.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/libutil.cc b/crawl-ref/source/libutil.cc index 4a1540ffb4..d682eb08f7 100644 --- a/crawl-ref/source/libutil.cc +++ b/crawl-ref/source/libutil.cc @@ -284,7 +284,7 @@ const char *standard_plural_qualifiers[] = " of ", " labeled ", NULL }; -// Pluralises a monster or item name. This'll need to be updated for +// Pluralises a monster or item name. This'll need to be updated for // correctness whenever new monsters/items are added. std::string pluralise(const std::string &name, const char *qualifiers[], @@ -346,8 +346,8 @@ std::string pluralise(const std::string &name, // mage -> magi return name.substr(0, name.length() - 1) + "i"; } - else if ( ends_with(name, "sheep") || ends_with(name, "manes") - || ends_with(name, "fish") ) + else if (ends_with(name, "sheep") || ends_with(name, "manes") + || ends_with(name, "fish")) { // Maybe we should generalise 'manes' to ends_with("es")? return name; |