summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libutil.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-05 01:57:53 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-05 01:57:53 +0000
commita16fbb39e54f26bff012d0b27a5b1d8d48849faf (patch)
tree9ab63674c189e3851f5564de3e33084cfc252f84 /crawl-ref/source/libutil.cc
parent0e94dff22d8b71060ef1de50aa53c9374de3284e (diff)
downloadcrawl-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.cc6
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;