summaryrefslogtreecommitdiff
path: root/lib/debug.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/debug.rb')
-rw-r--r--lib/debug.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/debug.rb b/lib/debug.rb
index 8af0aab..2f61e8d 100644
--- a/lib/debug.rb
+++ b/lib/debug.rb
@@ -1,5 +1,5 @@
# Copyright (C) 2000 Network Applied Communication Laboratory, Inc.
-# Copyright (C) 2000 Information-technology Promotion Agancy, Japan
+# Copyright (C) 2000 Information-technology Promotion Agency, Japan
if $SAFE > 0
STDERR.print "-r debug.rb is not available in safe mode\n"
@@ -526,7 +526,7 @@ EOHELP
end
def debug_funcname(id)
- if id == 0
+ if id.nil?
"toplevel"
else
id.id2name