From 2b94358ac41e2d1553c4f769fdb378c659fb5e0a Mon Sep 17 00:00:00 2001 From: nagai Date: Mon, 13 Jul 2009 23:11:34 +0000 Subject: * ext/tk/lib/tk/menuspec.rb: commit miss on my last commitment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/tk/lib/tk/menuspec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/tk/lib') diff --git a/ext/tk/lib/tk/menuspec.rb b/ext/tk/lib/tk/menuspec.rb index d7521555cd..9521a157d9 100644 --- a/ext/tk/lib/tk/menuspec.rb +++ b/ext/tk/lib/tk/menuspec.rb @@ -279,7 +279,7 @@ module TkMenuSpec end end - keys = default_opts.dup + keys = (default_opts)? default_opts.dup: {} tearoff = keys.delete('tearoff') if keys.key?('tearoff') tearoff = false unless tearoff # nil --> false -- cgit v1.2.3