diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-08-24 23:09:04 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-08-24 23:09:04 +0200 |
commit | 9603c99af4c1a03c19d9ea5c11644a2720f6bc13 (patch) | |
tree | 4ae9431c64ef651282e74877ad5a8da5f9cd594b /crawl-ref/source/wiz-mon.cc | |
parent | f9e8197bc4ac3803e1bf0f803ae42eefbf4353a1 (diff) | |
download | crawl-ref-9603c99af4c1a03c19d9ea5c11644a2720f6bc13.tar.gz crawl-ref-9603c99af4c1a03c19d9ea5c11644a2720f6bc13.zip |
Cancel an american speling.
Looks like, unlike "target[t]ing" where a single t is used by many brits and
even some aussies, "cancel[l]ing" has double l even for a good deal of
americans.
Diffstat (limited to 'crawl-ref/source/wiz-mon.cc')
-rw-r--r-- | crawl-ref/source/wiz-mon.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/crawl-ref/source/wiz-mon.cc b/crawl-ref/source/wiz-mon.cc index 61b22d0b85..b91ba27d35 100644 --- a/crawl-ref/source/wiz-mon.cc +++ b/crawl-ref/source/wiz-mon.cc @@ -177,7 +177,7 @@ void wizard_create_spec_monster_name() { char specs[1024]; mpr("Enter monster name (or MONS spec): ", MSGCH_PROMPT); - if (cancelable_get_line_autohist(specs, sizeof specs) || !*specs) + if (cancellable_get_line_autohist(specs, sizeof specs) || !*specs) { canned_msg(MSG_OK); return; @@ -478,7 +478,7 @@ void wizard_spawn_control() mprf(MSGCH_PROMPT, "Set monster spawn rate to what? (now %d, lower value = higher rate) ", env.spawn_random_rate); - if (!cancelable_get_line(specs, sizeof(specs))) + if (!cancellable_get_line(specs, sizeof(specs))) { const int rate = atoi(specs); if (rate || specs[0] == '0') @@ -506,7 +506,7 @@ void wizard_spawn_control() mprf(MSGCH_PROMPT, "Spawn how many random monsters (max %d)? ", max_spawn); - if (!cancelable_get_line(specs, sizeof(specs))) + if (!cancellable_get_line(specs, sizeof(specs))) { const int num = min(atoi(specs), max_spawn); if (num > 0) @@ -737,7 +737,7 @@ void wizard_dismiss_all_monsters(bool force_all) { mpr("What monsters to dismiss (ENTER for all, \"harmful\", \"mobile\" or a regex)? ", MSGCH_PROMPT); - bool validline = !cancelable_get_line_autohist(buf, sizeof buf); + bool validline = !cancellable_get_line_autohist(buf, sizeof buf); if (!validline) { @@ -1365,7 +1365,7 @@ void debug_miscast(int target_index) char specs[100]; mpr("Miscast which school or spell, by name? ", MSGCH_PROMPT); - if (cancelable_get_line_autohist(specs, sizeof specs) || !*specs) + if (cancellable_get_line_autohist(specs, sizeof specs) || !*specs) { canned_msg(MSG_OK); return; @@ -1420,7 +1420,7 @@ void debug_miscast(int target_index) MSGCH_PROMPT); } - if (cancelable_get_line_autohist(specs, sizeof specs) || !*specs) + if (cancellable_get_line_autohist(specs, sizeof specs) || !*specs) { canned_msg(MSG_OK); return; |