summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/command.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/command.cc')
-rw-r--r--crawl-ref/source/command.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/command.cc b/crawl-ref/source/command.cc
index 355a9d91e7..c3bb854955 100644
--- a/crawl-ref/source/command.cc
+++ b/crawl-ref/source/command.cc
@@ -377,12 +377,12 @@ static void _adjust_spells(void)
int keyin = 0;
if (Options.auto_list)
- keyin = list_spells();
+ keyin = list_spells(false);
else
{
keyin = get_ch();
if (keyin == '?' || keyin == '*')
- keyin = list_spells();
+ keyin = list_spells(false);
}
if (!isalpha(keyin))
@@ -393,7 +393,7 @@ static void _adjust_spells(void)
const int input_1 = keyin;
const int index_1 = letter_to_index( input_1 );
- spell_type spell = get_spell_by_letter( input_1 );
+ spell_type spell = get_spell_by_letter( input_1 );
if (spell == SPELL_NO_SPELL)
{