aboutsummaryrefslogtreecommitdiffstats
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
commitd43e5b18129e630a04f8bfbd59cbde5e461d9223 (patch)
tree97bb2dd7412f019eaeeea6744ee2b7b89575d776 /ext/tk/sample
parent6143edbbe07b97d7359c98428525544bf45e2c71 (diff)
downloadruby-d43e5b18129e630a04f8bfbd59cbde5e461d9223.tar.gz
* ext/tk/sample/tkextlib/treectrl/imovie.rb: fixed typo. (click on clip title)
git-svn-id: svn+ssh://ci.ruby-lang.org/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 45d30060df..d61bf9a7c3 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)}")