summaryrefslogtreecommitdiffstats
path: root/ext/tk/sample
diff options
context:
space:
mode:
authorocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-04-08 15:08:45 +0000
committerocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-04-08 15:08:45 +0000
commitd5d0536378d4494ec89ab3a24ae61863bc08c91a (patch)
tree97bb2dd7412f019eaeeea6744ee2b7b89575d776 /ext/tk/sample
parentf5f59c4fdc4fd69f325167d073dbd7367f41212b (diff)
downloadruby-d5d0536378d4494ec89ab3a24ae61863bc08c91a.tar.gz
ruby-d5d0536378d4494ec89ab3a24ae61863bc08c91a.tar.xz
ruby-d5d0536378d4494ec89ab3a24ae61863bc08c91a.zip
* ext/tk/sample/tkextlib/treectrl/imovie.rb: fixed typo. (click on clip title)
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/sample')
-rw-r--r--ext/tk/sample/tkextlib/treectrl/imovie.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/tk/sample/tkextlib/treectrl/imovie.rb b/ext/tk/sample/tkextlib/treectrl/imovie.rb
index 45d30060d..d61bf9a7c 100644
--- a/ext/tk/sample/tkextlib/treectrl/imovie.rb
+++ b/ext/tk/sample/tkextlib/treectrl/imovie.rb
@@ -116,7 +116,7 @@ def iMovieButton1(w, x, y)
ent.place(:y=>y1 - 1)
end
ent.selection_clear
- x1, y1, x2, y2 = t.item_bbox(i)
+ x1, y1, x2, y2 = w.item_bbox(i)
ent.place(:x=>x1 + 1, :width=>x2 - x1 - 5)
puts "@#{x - (x1 + 1)}"
# ent.icursor = ent.index("@#{x - (x1 + 1)}")