From c8945ec6b2f551c6a1c0ccbd5fd5616cb48aba25 Mon Sep 17 00:00:00 2001 From: nagai Date: Thu, 31 Aug 2006 05:58:20 +0000 Subject: * 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 --- ext/tk/lib/tkextlib/blt.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/tk/lib') 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 << '&' -- cgit