summaryrefslogtreecommitdiff
path: root/enc/unicode
diff options
context:
space:
mode:
authorsvn <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-02-08 12:26:36 +0000
committersvn <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-02-08 12:26:36 +0000
commit60c706177077f97c8feedddfa36c352205b0728b (patch)
tree703beca8e6074c01cfbf1905ef3e7415095f0ff0 /enc/unicode
parent73ab88994f4ce23e65c4ebedb87fd687281e54d2 (diff)
* remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 e9428a4..dddc366 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