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 4497fd1..b9a1d5f 100644
--- a/lib/debug.rb
+++ b/lib/debug.rb
@@ -445,9 +445,9 @@ class DEBUGGER__
n += 1
break unless bind
if pos == n
- stdout.printf "--> #%d %s:%s%s\n", n, file, line, id != 0 ? ":in `#{id.id2name}'":""
+ stdout.printf "--> #%d %s:%s%s\n", n, file, line, id ? ":in `#{id.id2name}'":""
else
- stdout.printf " #%d %s:%s%s\n", n, file, line, id != 0 ? ":in `#{id.id2name}'":""
+ stdout.printf " #%d %s:%s%s\n", n, file, line, id ? ":in `#{id.id2name}'":""
end
end
end