summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/macro.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-11-22 03:30:06 +0100
committerAdam Borowski <kilobyte@angband.pl>2012-11-22 04:34:29 +0100
commit44b6e7a985c2c5f852a6c9638bdca64259025d8e (patch)
tree83ba28d6144eb81ee574fc0a72892997e6adbaeb /crawl-ref/source/macro.cc
parent064836cfdb99776b23764e3e460af59756e6beef (diff)
downloadcrawl-ref-44b6e7a985c2c5f852a6c9638bdca64259025d8e.tar.gz
crawl-ref-44b6e7a985c2c5f852a6c9638bdca64259025d8e.zip
Fix prompts asking for 'I' in Turkish locales.
They have I<->ı and İ<->i. Fortunately, people are quite unlikely to type capital letters in response to prompts, perhaps save for the stat gain one.
Diffstat (limited to 'crawl-ref/source/macro.cc')
-rw-r--r--crawl-ref/source/macro.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/macro.cc b/crawl-ref/source/macro.cc
index a53a64cf42..a224f85e62 100644
--- a/crawl-ref/source/macro.cc
+++ b/crawl-ref/source/macro.cc
@@ -894,7 +894,7 @@ void macro_add_query(void)
"(s)ave? ",
MSGCH_PROMPT);
input = m_getch();
- int low = tolower(input);
+ int low = toalower(input);
if (low == 'k')
{
@@ -960,7 +960,7 @@ void macro_add_query(void)
input = m_getch();
- input = tolower(input);
+ input = toalower(input);
if (input == 'a' || key_is_escape(input))
{
canned_msg(MSG_OK);