* 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

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");
break;
case 's':
*kcode = rb_enc_find_index("Shitf_JIS");
*kcode = rb_enc_find_index("Shift_JIS");
break;
case 'u':
*kcode = rb_enc_find_index("UTF-8");