summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/newgame.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/newgame.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/newgame.cc')
-rw-r--r--crawl-ref/source/newgame.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/newgame.cc b/crawl-ref/source/newgame.cc
index f4d9da3ec3..b15c0b8282 100644
--- a/crawl-ref/source/newgame.cc
+++ b/crawl-ref/source/newgame.cc
@@ -410,9 +410,9 @@ static bool _reroll_random(newgame_def* ng)
cprintf("\nDo you want to play this combination? (ynq) [y]");
char c = getchm();
- if (key_is_escape(c) || tolower(c) == 'q')
+ if (key_is_escape(c) || toalower(c) == 'q')
game_ended();
- return (tolower(c) == 'n');
+ return (toalower(c) == 'n');
}
static void _choose_char(newgame_def* ng, newgame_def* choice,