1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* re.c (rb_char_to_option_kcode): fixed typo.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2008-01-17 12:48:23 +00:00
parent 49622de368
commit a0029e3adc
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Thu Jan 17 21:48:21 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* re.c (rb_char_to_option_kcode): fixed typo.
Thu Jan 17 21:01:25 2008 Tadayoshi Funaba <tadf@dotrb.org> Thu Jan 17 21:01:25 2008 Tadayoshi Funaba <tadf@dotrb.org>
* lib/date.rb (Date::Infinity#<=>): didn't work. A patch from * lib/date.rb (Date::Infinity#<=>): didn't work. A patch from

2
re.c
View file

@ -188,7 +188,7 @@ rb_char_to_option_kcode(int c, int *option, int *kcode)
*kcode = rb_enc_find_index("EUC-JP"); *kcode = rb_enc_find_index("EUC-JP");
break; break;
case 's': case 's':
*kcode = rb_enc_find_index("Shitf_JIS"); *kcode = rb_enc_find_index("Shift_JIS");
break; break;
case 'u': case 'u':
*kcode = rb_enc_find_index("UTF-8"); *kcode = rb_enc_find_index("UTF-8");