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

* ext/tk/lib/multi-tk.rb: fix typos.

[Bug #11764][ruby-core:71800]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
hsbt 2015-12-10 05:13:39 +00:00
parent 7c41f09342
commit 567eb15df3
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,8 @@
Thu Dec 10 14:13:34 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
* ext/tk/lib/multi-tk.rb: fix typos.
[Bug #11764][ruby-core:71800]
Thu Dec 10 11:33:34 2015 Eric Wong <e@80x24.org>
* compile.c (iseq_compile_each): reduce needless rb_str_dup

View file

@ -1482,17 +1482,17 @@ class MultiTkIp
begin
@interp._eval("::safe::disallowTk #{slave}")
rescue
warn("Waring: fail to call '::safe::disallowTk'") if $DEBUG
warn("Warning: fail to call '::safe::disallowTk'") if $DEBUG
end
else # toplevel path
begin
@interp._eval("::safe::tkDelete {} #{top} #{slave}")
rescue
warn("Waring: fail to call '::safe::tkDelete'") if $DEBUG
warn("Warning: fail to call '::safe::tkDelete'") if $DEBUG
begin
@interp._eval("destroy #{top}")
rescue
warn("Waring: fail to destroy toplevel") if $DEBUG
warn("Warning: fail to destroy toplevel") if $DEBUG
end
end
end