diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2021-04-26 00:10:39 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-04-26 10:07:41 +0900 |
commit | 33f2ff3babb7054f3df1efa25c1285e09613d7b8 (patch) | |
tree | 4c47e98fd4194080fb4d0d047100731b076babc0 /ext/nkf | |
parent | f9b62b5cc04fa87f0970c9ca3d1cbbc9be8bf8fe (diff) |
Fix some typos by spell checker
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4414
Diffstat (limited to 'ext/nkf')
-rw-r--r-- | ext/nkf/nkf-utf8/nkf.c | 2 | ||||
-rw-r--r-- | ext/nkf/nkf.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/nkf/nkf-utf8/nkf.c b/ext/nkf/nkf-utf8/nkf.c index f797252409..08b372ffab 100644 --- a/ext/nkf/nkf-utf8/nkf.c +++ b/ext/nkf/nkf-utf8/nkf.c @@ -6787,7 +6787,7 @@ options(unsigned char *cp) case 'S': /* Shift_JIS input */ input_encoding = nkf_enc_from_index(SHIFT_JIS); continue; - case 'Z': /* Convert X0208 alphabet to asii */ + case 'Z': /* Convert X0208 alphabet to ascii */ /* alpha_f bit:0 Convert JIS X 0208 Alphabet to ASCII bit:1 Convert Kankaku to one space diff --git a/ext/nkf/nkf.c b/ext/nkf/nkf.c index 37717e4799..76f7648d1b 100644 --- a/ext/nkf/nkf.c +++ b/ext/nkf/nkf.c @@ -458,7 +458,7 @@ rb_nkf_guess(VALUE obj, VALUE src) * with this and -x option, nkf can be used as UTF converter. * (In other words, without this and -x option, nkf doesn't save some characters) * - * When nkf convert string which related to path, you should use this opion. + * When nkf convert string which related to path, you should use this option. * * === --cap-input * |