summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/tk/lib/tk.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb
index 6bae4d8f4..a7e63edaf 100644
--- a/ext/tk/lib/tk.rb
+++ b/ext/tk/lib/tk.rb
@@ -662,7 +662,8 @@ module TkCore
if self.const_defined? :IP_NAME
name = IP_NAME.to_s
else
- name = nil
+ #name = nil
+ name = $0
end
if self.const_defined? :IP_OPTS
if IP_OPTS.kind_of?(Hash)