diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-03-21 18:32:15 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-03-21 18:32:15 +0000 |
commit | d9ea3d23c7f996b76d1663272e48b8ce5698d08d (patch) | |
tree | adcc762851560abb08d6ffba5e6b0138186de7c1 /crawl-ref/source/libutil.cc | |
parent | a827d0a2fe6398a6262bc7a41318afbd26f18847 (diff) | |
download | crawl-ref-d9ea3d23c7f996b76d1663272e48b8ce5698d08d.tar.gz crawl-ref-d9ea3d23c7f996b76d1663272e48b8ce5698d08d.zip |
Fix [2700197]: Use "a" instead of "an" for one-headed hydras.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9525 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/libutil.cc')
-rw-r--r-- | crawl-ref/source/libutil.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/libutil.cc b/crawl-ref/source/libutil.cc index 2c264313f0..1cc7f40d85 100644 --- a/crawl-ref/source/libutil.cc +++ b/crawl-ref/source/libutil.cc @@ -292,7 +292,7 @@ std::string article_a(const std::string &name, bool lowercase) case 'a': case 'e': case 'i': case 'o': case 'u': case 'A': case 'E': case 'I': case 'O': case 'U': // XXX: Hack - if (starts_with(name, "one-way")) + if (starts_with(name, "one-")) return a + name; return an + name; default: @@ -353,7 +353,7 @@ std::string pluralise(const std::string &name, { if (name == "y") return ("ys"); - // sensibilitiy -> sensibilities + // sensibility -> sensibilities else if (name[name.length() - 2] == 'i') return name.substr(0, name.length() - 1) + "es"; // day -> days, boy -> boys, etc |