summaryrefslogtreecommitdiff
path: root/enc/unicode/case-folding.rb
diff options
context:
space:
mode:
Diffstat (limited to 'enc/unicode/case-folding.rb')
-rwxr-xr-xenc/unicode/case-folding.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/enc/unicode/case-folding.rb b/enc/unicode/case-folding.rb
index cade542..d3738be 100755
--- a/enc/unicode/case-folding.rb
+++ b/enc/unicode/case-folding.rb
@@ -241,12 +241,12 @@ class CaseMapping
specials_index = nil
specials = []
unless item.upper == item.title
- specials << item.title
- flags += '|ST'
if item.code == item.title
flags += '|IT'
+ else
+ flags += '|ST'
+ specials << item.title
end
-
end
unless item.lower.nil? or item.lower==from or item.lower==to
specials << item.lower