summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/macro.cc
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2013-12-09 12:41:17 +0000
committerChris Campbell <chriscampbell89@gmail.com>2013-12-10 15:37:22 +0000
commit9ff65a6a82d6c134e5ba0459042672e51d0cf3b5 (patch)
tree28aea7cf8bd59c2c5dafe4d877586c8fc901444f /crawl-ref/source/macro.cc
parent8fe954617de510e6e1666c5bf5f024c737d2ca4c (diff)
downloadcrawl-ref-9ff65a6a82d6c134e5ba0459042672e51d0cf3b5.tar.gz
crawl-ref-9ff65a6a82d6c134e5ba0459042672e51d0cf3b5.zip
Fix spelling of "targeting" (#7837)
See Mantis for discussion.
Diffstat (limited to 'crawl-ref/source/macro.cc')
-rw-r--r--crawl-ref/source/macro.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/crawl-ref/source/macro.cc b/crawl-ref/source/macro.cc
index 631422c6df..6608c9c771 100644
--- a/crawl-ref/source/macro.cc
+++ b/crawl-ref/source/macro.cc
@@ -58,7 +58,7 @@ static macromap *all_maps[] =
{
&Keymaps[KMC_DEFAULT],
&Keymaps[KMC_LEVELMAP],
- &Keymaps[KMC_TARGETTING],
+ &Keymaps[KMC_TARGETING],
&Keymaps[KMC_CONFIRM],
&Macros,
@@ -876,7 +876,7 @@ static string _macro_type_name(bool keymap, KeymapContext keymc)
return make_stringf("%s%s",
keymap ? (keymc == KMC_DEFAULT ? "default " :
keymc == KMC_LEVELMAP ? "level-map " :
- keymc == KMC_TARGETTING ? "targetting " :
+ keymc == KMC_TARGETING ? "targeting " :
keymc == KMC_CONFIRM ? "confirm " :
keymc == KMC_MENU ? "menu "
: "buggy") : "",
@@ -892,7 +892,7 @@ void macro_add_query(void)
mesclr();
mprf(MSGCH_PROMPT, "(m)acro, (M)acro raw, keymap "
- "[(k) default, (x) level-map, (t)argetting, "
+ "[(k) default, (x) level-map, (t)argeting, "
"(c)onfirm, m(e)nu], (s)ave? ");
input = m_getch();
int low = toalower(input);
@@ -910,7 +910,7 @@ void macro_add_query(void)
else if (low == 't')
{
keymap = true;
- keymc = KMC_TARGETTING;
+ keymc = KMC_TARGETING;
}
else if (low == 'c')
{
@@ -1294,7 +1294,7 @@ static KeymapContext _context_for_command(command_type cmd)
return KMC_LEVELMAP;
if (cmd >= CMD_MIN_TARGET && cmd <= CMD_MAX_TARGET)
- return KMC_TARGETTING;
+ return KMC_TARGETING;
#ifdef USE_TILE
if (cmd >= CMD_MIN_DOLL && cmd <= CMD_MAX_DOLL)