diff options
author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-07-05 06:19:11 +0000 |
---|---|---|
committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-07-05 06:19:11 +0000 |
commit | 5a33a2c74ab3ef790bd90a8220915a858e3b2cfd (patch) | |
tree | 31c1b7a6dc94d0efb405c83186fc1d195c2e3e1f | |
parent | e3849ae9878e78fd089d117f5bd2cb787a62e941 (diff) | |
download | ruby-5a33a2c74ab3ef790bd90a8220915a858e3b2cfd.tar.gz |
* ext/tk/tkutil/tkutil.c: fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | ext/tk/tkutil/tkutil.c | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,7 @@ +Tue Jul 5 15:15:10 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> + + * ext/tk/tkutil.c: fix typo. + Tue Jul 5 14:52:56 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> * ext/tk/tcltklib.c: bug fix on treating Unicode strings. diff --git a/ext/tk/tkutil/tkutil.c b/ext/tk/tkutil/tkutil.c index ada17da52e..464bbafa9c 100644 --- a/ext/tk/tkutil/tkutil.c +++ b/ext/tk/tkutil/tkutil.c @@ -373,7 +373,7 @@ ary2list(ary, enc_flag, self) } val = rb_apply(cTclTkLib, ID_merge_tklist, dst); if (TYPE(dst_enc) == T_STRING) { - val = rb_fun_call(cTclTkLib, ID_fromUTF8, 2, val, dst_enc); + val = rb_funcall(cTclTkLib, ID_fromUTF8, 2, val, dst_enc); rb_ivar_set(val, ID_at_enc, dst_enc); } else { rb_ivar_set(val, ID_at_enc, rb_str_new2("utf-8")); @@ -463,7 +463,7 @@ ary2list2(ary, enc_flag, self) } val = rb_apply(cTclTkLib, ID_merge_tklist, dst); if (TYPE(dst_enc) == T_STRING) { - val = rb_fun_call(cTclTkLib, ID_fromUTF8, 2, val, dst_enc); + val = rb_funcall(cTclTkLib, ID_fromUTF8, 2, val, dst_enc); rb_ivar_set(val, ID_at_enc, dst_enc); } else { rb_ivar_set(val, ID_at_enc, rb_str_new2("utf-8")); |