summaryrefslogtreecommitdiff
path: root/ext/tk/lib/tk/canvastag.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tk/lib/tk/canvastag.rb')
-rw-r--r--ext/tk/lib/tk/canvastag.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/tk/lib/tk/canvastag.rb b/ext/tk/lib/tk/canvastag.rb
index b1ac10ba43..0075a60a14 100644
--- a/ext/tk/lib/tk/canvastag.rb
+++ b/ext/tk/lib/tk/canvastag.rb
@@ -112,8 +112,8 @@ module TkcTagAccess
self
end
- def index(index)
- @c.index(@id, index)
+ def index(idx)
+ @c.index(@id, idx)
end
def insert(beforethis, string)