diff options
author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-08-31 05:58:20 +0000 |
---|---|---|
committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-08-31 05:58:20 +0000 |
commit | c8945ec6b2f551c6a1c0ccbd5fd5616cb48aba25 (patch) | |
tree | d1b1a8c26ff18dab0ebd32a1d1b3f205cd6b7f16 /ext/tk | |
parent | 692deba04a49d5e4be77f133ae4b119adf0ab3f2 (diff) | |
download | ruby-c8945ec6b2f551c6a1c0ccbd5fd5616cb48aba25.tar.gz ruby-c8945ec6b2f551c6a1c0ccbd5fd5616cb48aba25.tar.xz ruby-c8945ec6b2f551c6a1c0ccbd5fd5616cb48aba25.zip |
* ext/tk/lib/tkextlib/blt.rb: double dashes (--) option doesn't work
properly on some versions of BLT (wrong description on the
manual of `blt::bgexec'?).
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk')
-rw-r--r-- | ext/tk/ChangeLog.tkextlib | 6 | ||||
-rw-r--r-- | ext/tk/lib/tkextlib/blt.rb | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/ext/tk/ChangeLog.tkextlib b/ext/tk/ChangeLog.tkextlib index fa5524da0..fad15e882 100644 --- a/ext/tk/ChangeLog.tkextlib +++ b/ext/tk/ChangeLog.tkextlib @@ -1,3 +1,9 @@ +2006-08-31 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> + + * lib/tkextlib/blt.rb: double dashes (--) option doesn't work + properly on some versions of BLT (wrong description on the + manual of `blt::bgexec'?). + 2005-12-11 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> * lib/tkextlib/SUPPORT_STATUS: update to support libraries in diff --git a/ext/tk/lib/tkextlib/blt.rb b/ext/tk/lib/tkextlib/blt.rb index 8ac860551..115eb927b 100644 --- a/ext/tk/lib/tkextlib/blt.rb +++ b/ext/tk/lib/tkextlib/blt.rb @@ -68,7 +68,7 @@ module Tk params.concat(hash_kv(args.shift, true)) if args[0].kind_of?(Hash) - params << '--' + params << '--' if args[0] =~ /^\s*-[^-]/ params.concat(args) tk_call('::blt::bgexec', *params) @@ -85,7 +85,7 @@ module Tk params.concat(hash_kv(args.shift, true)) if args[0].kind_of?(Hash) - params << '--' + params << '--' if args[0] =~ /^\s*-[^-]/ params.concat(args) params << '&' |