summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/database.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-26 01:09:17 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-26 01:09:17 +0000
commit635e6fe7395f755cbe6499b7c065544c77cfdca6 (patch)
treeb2a4f85f2a3ea4b32ab586737dc2c1debbb4ef64 /crawl-ref/source/database.cc
parent3037e46604dbd1416349dc83c0621f3015bbd013 (diff)
downloadcrawl-ref-635e6fe7395f755cbe6499b7c065544c77cfdca6.tar.gz
crawl-ref-635e6fe7395f755cbe6499b7c065544c77cfdca6.zip
Add spelling fix.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6143 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/database.cc')
-rw-r--r--crawl-ref/source/database.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/crawl-ref/source/database.cc b/crawl-ref/source/database.cc
index f60a8b59eb..12eec729e2 100644
--- a/crawl-ref/source/database.cc
+++ b/crawl-ref/source/database.cc
@@ -509,7 +509,7 @@ std::string getWeightedSpeechString(const std::string &key,
return (result);
}
-static std::string _getRandomizedStr(DBM *database, const std::string &key,
+static std::string _getRandomisedStr(DBM *database, const std::string &key,
const std::string &suffix,
int &num_replacements,
int recursion_depth = 0)
@@ -558,7 +558,7 @@ static void _call_recursive_replacement(std::string &str, DBM *database,
std::string marker = str.substr(pos + 1, end - pos - 1);
std::string replacement =
- _getRandomizedStr(database, marker, suffix, num_replacements,
+ _getRandomisedStr(database, marker, suffix, num_replacements,
recursion_depth);
if (replacement == "")
@@ -648,7 +648,7 @@ std::string getShoutString(const std::string &monst,
{
int num_replacements = 0;
- return _getRandomizedStr(ShoutDB.get(), monst, suffix,
+ return _getRandomisedStr(ShoutDB.get(), monst, suffix,
num_replacements);
}
@@ -664,7 +664,7 @@ std::string getSpeakString(const std::string &key)
#ifdef DEBUG_MONSPEAK
mprf(MSGCH_DIAGNOSTICS, "monster speech lookup for %s", key.c_str());
#endif
- return _getRandomizedStr(SpeakDB, key, "", num_replacements);
+ return _getRandomisedStr(SpeakDB, key, "", num_replacements);
}
/////////////////////////////////////////////////////////////////////////////
@@ -677,7 +677,7 @@ std::string getRandNameString(const std::string &itemtype,
int num_replacements = 0;
- return _getRandomizedStr(RandartDB, itemtype, suffix,
+ return _getRandomisedStr(RandartDB, itemtype, suffix,
num_replacements);
}
@@ -701,5 +701,5 @@ std::string getMiscString(const std::string &misc,
int num_replacements = 0;
- return _getRandomizedStr(MiscDB, misc, suffix, num_replacements);
+ return _getRandomisedStr(MiscDB, misc, suffix, num_replacements);
}