diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-06-13 18:55:55 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-06-13 18:55:55 +0000 |
commit | d9cf0f822f68a9e1bc439b5aae5ae292c7c4ac84 (patch) | |
tree | 9c7f563b9576c93e46cd0e8aca7af534f44475c8 /enc/trans/utf8_mac.trans | |
parent | 44a8a15037bd85151e1d2ded07cfa8ac56edd089 (diff) | |
download | ruby-d9cf0f822f68a9e1bc439b5aae5ae292c7c4ac84.tar.gz |
* enc/trans/utf8_mac.trans: remove wrong optimization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc/trans/utf8_mac.trans')
-rw-r--r-- | enc/trans/utf8_mac.trans | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/enc/trans/utf8_mac.trans b/enc/trans/utf8_mac.trans index 5a12b59f03..7569c34ac0 100644 --- a/enc/trans/utf8_mac.trans +++ b/enc/trans/utf8_mac.trans @@ -199,15 +199,6 @@ fun_so_from_utf8_mac(void *statep, case 1: n = from_utf8_mac_finish(sp, o, osize); break; - case 3: - if (s[0] == 0xE3 && s[1] == 0x82 && (s[2] == 0x99 || s[2] == 0x9A)) { - n = from_utf8_mac_finish(sp, o, osize); - o[n++] = *s++; - o[n++] = *s++; - o[n++] = *s++; - return n; - } - break; case 4: n = from_utf8_mac_finish(sp, o, osize); o[n++] = *s++; |