diff options
author | Adam Borowski <kilobyte@angband.pl> | 2010-12-17 09:55:39 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2010-12-17 13:25:19 +0100 |
commit | bbc1968de451ed0b88b7a11f5ab302bf3ede5df7 (patch) | |
tree | 0e45bd667edf217578e2c4f1e72e4757d9554c24 /crawl-ref/source/startup.cc | |
parent | b6d532090f7160882446e3630d3dabadfa07924d (diff) | |
download | crawl-ref-bbc1968de451ed0b88b7a11f5ab302bf3ede5df7.tar.gz crawl-ref-bbc1968de451ed0b88b7a11f5ab302bf3ede5df7.zip |
Let Chapayev spell his character's name "Чапаев".
Diffstat (limited to 'crawl-ref/source/startup.cc')
-rw-r--r-- | crawl-ref/source/startup.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/crawl-ref/source/startup.cc b/crawl-ref/source/startup.cc index b845350cb0..83aa995dd5 100644 --- a/crawl-ref/source/startup.cc +++ b/crawl-ref/source/startup.cc @@ -652,10 +652,8 @@ static void _show_startup_menu(newgame_def* ng_choice, { // handle the non-action keys by hand to poll input // Only consider alphanumeric keys and -_ . - // Note: this currently allows letters between 128 and 255 in - // 8-bit ancient charsets. bool changed_name = false; - if (std::isalnum(keyn) || keyn == '-' || keyn == '.' + if (std::iswalnum(keyn) || keyn == '-' || keyn == '.' || keyn == '_' || keyn == ' ') { if (full_name) |