summaryrefslogtreecommitdiffstats
path: root/ext/tk/lib/tkextlib/tkHTML/htmlwidget.rb
diff options
context:
space:
mode:
authornagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-10-11 04:51:21 +0000
committernagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-10-11 04:51:21 +0000
commitbbe91bcd1898d544739e41fdf91aa8288526540a (patch)
treed280d8542cc44d1cd1a75e8ec87b1f9d231561b7 /ext/tk/lib/tkextlib/tkHTML/htmlwidget.rb
parent28c7b64f14c02a953ba051acd144e4ee5144450e (diff)
downloadruby-bbe91bcd1898d544739e41fdf91aa8288526540a.tar.gz
ruby-bbe91bcd1898d544739e41fdf91aa8288526540a.tar.xz
ruby-bbe91bcd1898d544739e41fdf91aa8288526540a.zip
* ext/tk/lib/tk/*: untabify
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/lib/tkextlib/tkHTML/htmlwidget.rb')
-rw-r--r--ext/tk/lib/tkextlib/tkHTML/htmlwidget.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/tk/lib/tkextlib/tkHTML/htmlwidget.rb b/ext/tk/lib/tkextlib/tkHTML/htmlwidget.rb
index 0c900cdb8..b9a203575 100644
--- a/ext/tk/lib/tkextlib/tkHTML/htmlwidget.rb
+++ b/ext/tk/lib/tkextlib/tkHTML/htmlwidget.rb
@@ -18,9 +18,9 @@ module Tk
class HTML_Widget < TkWindow
def self.package_version
begin
- TkPackage.require('Tkhtml')
+ TkPackage.require('Tkhtml')
rescue
- ''
+ ''
end
end
@@ -55,7 +55,7 @@ class Tk::HTML_Widget::ClippingWindow
if widgetname =~ /^(.*)\.[^.]+$/
ppath2 = $1
if ppath2[0] != ?.
- ppath2 = ppath + '.' + ppath2
+ ppath2 = ppath + '.' + ppath2
end
return HtmlClip_TBL[ppath2] if HtmlClip_TBL[ppath2]