summaryrefslogtreecommitdiffstats
path: root/ext/tk/lib/multi-tk.rb
diff options
context:
space:
mode:
authornagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-06-12 15:25:49 +0000
committernagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-06-12 15:25:49 +0000
commit2018ddf072d64797531691f0bb27c5d50f88405d (patch)
tree7ff4193ecbd0de9f6d52bb230b3b5c826103ccff /ext/tk/lib/multi-tk.rb
parent269af99a96c8a72d4a401f972febe1a53700a7b0 (diff)
downloadruby-2018ddf072d64797531691f0bb27c5d50f88405d.tar.gz
ruby-2018ddf072d64797531691f0bb27c5d50f88405d.tar.xz
ruby-2018ddf072d64797531691f0bb27c5d50f88405d.zip
* ext/tcltklib/extconf.rb: [EXPERIMENTAL] MacOS X (darwin) support
* ext/tcltklib/tcltklib.c: fix thread trouble on callback proc, and eliminate warning about instance variable access * ext/tk/lib/tk/menubar.rb: improve supported menu_spec * ext/tk/lib/tk/menuspec.rb: [add] menu_spec support library * ext/tk/lib/tk/root.rb: add menu_spec support * ext/tk/lib/tk/text.rb: bug fix * ext/tk/lib/tk/toplevel.rb: add menu_spec support * ext/tk/sample/menubar?.rb: [add] sample of menu_spec usage git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/lib/multi-tk.rb')
-rw-r--r--ext/tk/lib/multi-tk.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/tk/lib/multi-tk.rb b/ext/tk/lib/multi-tk.rb
index ba1dc733c..7957e0b3c 100644
--- a/ext/tk/lib/multi-tk.rb
+++ b/ext/tk/lib/multi-tk.rb
@@ -1324,7 +1324,8 @@ class MultiTkIp
else
list.push str[0..i-1]
end
- list += _lst2ary(str[i+1..-1])
+ #list += _lst2ary(str[i+1..-1])
+ list.concat(_lst2ary(str[i+1..-1]))
list
end
private :_lst2ary