summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--ext/tk/lib/multi-tk.rb6
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index f8f715ae6b..4fd6adcfb2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/ext/tk/lib/multi-tk.rb b/ext/tk/lib/multi-tk.rb
index c23c246551..e0f41d0f6a 100644
--- a/ext/tk/lib/multi-tk.rb
+++ b/ext/tk/lib/multi-tk.rb
@@ -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