diff options
| author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-13 23:11:53 +0000 |
|---|---|---|
| committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-13 23:11:53 +0000 |
| commit | 140f4dd0ab3c77b416217ca6ce2902c60f4c3222 (patch) | |
| tree | 2ae7750e3a208649f8e35043e516f306ee6b0391 | |
| parent | 0d5107841c0070ae33564bff9f5f5900a632a2cb (diff) | |
* ext/tk/lib/tk/menuspec.rb: commit miss on my last commitment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ext/tk/lib/tk/menuspec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
