diff options
author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-28 17:27:41 +0000 |
---|---|---|
committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-28 17:27:41 +0000 |
commit | 3cb57fb1c3c2b25bd94660c099f52489a1564354 (patch) | |
tree | 08409cd67ee21c92a9931071ebe8b172e19a008f /ext/tk/lib/tkextlib | |
parent | 3e1c54defd58609ae284a78b3bc5501105d332e6 (diff) | |
download | ruby-3cb57fb1c3c2b25bd94660c099f52489a1564354.tar.gz |
* ext/tk/lib/tk.rb: forgot to update RELEASE_DATE
* ext/tk/lib/tk.rb, ext/tk/lib/tk/text.rb,
ext/tk/lib/tkextlib/iwidgets/scrolledtext.rb: remove adhoc check
of Ruby's features (use existence of some classes instead of
comparing with RUBY_VERSION)
* ext/tk/lib/tk/root.rb, ext/tk/lib/tk/autoload.rb: make TkRoot
(Tk::Root) unswitchable
* ext/tk/lib/multi-tk.rb: partial bug fix (still not work!!)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/lib/tkextlib')
-rw-r--r-- | ext/tk/lib/tkextlib/iwidgets/scrolledtext.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/tk/lib/tkextlib/iwidgets/scrolledtext.rb b/ext/tk/lib/tkextlib/iwidgets/scrolledtext.rb index 12fc453e26..2887b60815 100644 --- a/ext/tk/lib/tkextlib/iwidgets/scrolledtext.rb +++ b/ext/tk/lib/tkextlib/iwidgets/scrolledtext.rb @@ -322,7 +322,7 @@ class Tk::Iwidgets::Scrolledtext def _ktext_length(txt) - if RUBY_VERSION < '1.9.0' ### !!!!!!!!!!!!! + if TkCore::WITH_ENCODING ### Ruby 1.9 !!!!!!!!!!!!! return txt.length end ########################### |