summaryrefslogtreecommitdiffstats
path: root/ext/tk/sample
diff options
context:
space:
mode:
authorocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-04-08 14:30:20 +0000
committerocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-04-08 14:30:20 +0000
commitd7061d9ffb6b28148268101283554be0770821ae (patch)
tree96482a4a33363f639b284a7f891036fc58728f9d /ext/tk/sample
parent529d53731e56e087bafb5034758a597dfc77d3f8 (diff)
downloadruby-d7061d9ffb6b28148268101283554be0770821ae.tar.gz
ruby-d7061d9ffb6b28148268101283554be0770821ae.tar.xz
ruby-d7061d9ffb6b28148268101283554be0770821ae.zip
* ext/tk/sample/tkextlib/treectrl/random.rb: fixed typo. (drop node outside of
widget, or reenter widget while draggging) git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/sample')
-rw-r--r--ext/tk/sample/tkextlib/treectrl/random.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/tk/sample/tkextlib/treectrl/random.rb b/ext/tk/sample/tkextlib/treectrl/random.rb
index c10ec9d2a..2c9e614aa 100644
--- a/ext/tk/sample/tkextlib/treectrl/random.rb
+++ b/ext/tk/sample/tkextlib/treectrl/random.rb
@@ -455,7 +455,7 @@ def randomAutoScanCheck(t, x, y)
x1, y1, x2, y2 = t.contentbox
margin = t.winfo_pixels(t.scrollmargin)
if x < x1 + margin || x >= x2 - margin || y < y1 + margin || y >= y2 - margin
- if ! @Priv.exist?(:auroscan, :afterId, t)
+ if ! @Priv.exist?(:autoscan, :afterId, t)
if y >= y2 - margin
t.yview(:scroll, 1, :units)
delay = t.yscrolldelay