summaryrefslogtreecommitdiffstats
path: root/ext/tk/lib/tktext.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-10-02 06:02:17 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-10-02 06:02:17 +0000
commit1607f1d9fe04214c8457bf0287679691ccd6bf8f (patch)
tree5e0a40d402ee6e82cefc7a5e564f306569b645a0 /ext/tk/lib/tktext.rb
parent24db4c7f3dc2984245946fcd8ff6beab4b7d23dc (diff)
downloadruby-1607f1d9fe04214c8457bf0287679691ccd6bf8f.tar.gz
ruby-1607f1d9fe04214c8457bf0287679691ccd6bf8f.tar.xz
ruby-1607f1d9fe04214c8457bf0287679691ccd6bf8f.zip
* commit miss; and tcltklib fix too.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/lib/tktext.rb')
-rw-r--r--ext/tk/lib/tktext.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/tk/lib/tktext.rb b/ext/tk/lib/tktext.rb
index 952c05f56..dd4d64904 100644
--- a/ext/tk/lib/tktext.rb
+++ b/ext/tk/lib/tktext.rb
@@ -685,7 +685,7 @@ class TkTextTag<TkObject
def destroy
tk_call @t.path, 'tag', 'delete', @id
- TTagID_TBL[@tpath][@id] = nil if CTagID_TBL[@tpath]
+ TTagID_TBL[@tpath].delete(@id) if CTagID_TBL[@tpath]
end
end