summaryrefslogtreecommitdiff
path: root/ext/tk
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tk')
-rw-r--r--ext/tk/lib/tk.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb
index 2e4d9d039e..0ffb0ee434 100644
--- a/ext/tk/lib/tk.rb
+++ b/ext/tk/lib/tk.rb
@@ -1270,7 +1270,7 @@ class TkVariable
def ==(other)
case other
when TkVariable
- self.equal(self)
+ self.equal(other)
when String
self.to_s == other
when Integer