summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/place.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-10-01 00:19:34 +0200
committerAdam Borowski <kilobyte@angband.pl>2011-10-01 00:49:22 +0200
commit3d71ce5f9d6a7f4ab95e165c16154e8a3755427d (patch)
tree12a8da92441fc15323fbe546aa1a09bfc0ed5ba4 /crawl-ref/source/place.cc
parent6df978ce34a5173b069189e25ccc98aa256e9fc1 (diff)
downloadcrawl-ref-3d71ce5f9d6a7f4ab95e165c16154e8a3755427d.tar.gz
crawl-ref-3d71ce5f9d6a7f4ab95e165c16154e8a3755427d.zip
Mostly correct uppercasing/lowercasing of Unicode strings. ij and ß are still wrong.
Ok, I can understand Germans having ß as a lowercase-only letter which can be at most approximated with SS/Ss when uppercased, but Dutch ij rather than ij is plain stupid. And it requires a thorough reworking, needing special libc functions just for one alleged "letter".
Diffstat (limited to 'crawl-ref/source/place.cc')
-rw-r--r--crawl-ref/source/place.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/place.cc b/crawl-ref/source/place.cc
index 127273eab8..92f4f680c3 100644
--- a/crawl-ref/source/place.cc
+++ b/crawl-ref/source/place.cc
@@ -90,7 +90,7 @@ std::string place_name(unsigned short place, bool long_name,
&& !you.level_type_origin.empty())
{
if (!long_name)
- return upcase_first(you.level_type_name_abbrev);
+ return uppercase_first(you.level_type_name_abbrev);
std::string desc;