summaryrefslogtreecommitdiff
path: root/enc/unicode
diff options
context:
space:
mode:
Diffstat (limited to 'enc/unicode')
-rwxr-xr-xenc/unicode/case-folding.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/enc/unicode/case-folding.rb b/enc/unicode/case-folding.rb
index e9428a4103..dddc366991 100755
--- a/enc/unicode/case-folding.rb
+++ b/enc/unicode/case-folding.rb
@@ -215,8 +215,8 @@ class CaseMapping
to = Array(to).map {|i| "%04X" % i}.join(" ")
item = @mappings[from]
if item
- flags += '|U' if to==item.upper
- flags += '|D' if to==item.lower
+ flags += '|U' if to==item.upper
+ flags += '|D' if to==item.lower
end
flags
end