Skip to content

Commit

Permalink
.gdbinit: Fix indentation in print_id [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
acj authored and marcandre committed Feb 6, 2021
1 parent bfc7bb5 commit 132e01a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .gdbinit
Original file line number Diff line number Diff line change
Expand Up @@ -1102,11 +1102,11 @@ define print_id
set $arylen = $ary->as.heap.len
end
set $result = $aryptr[($serial % ID_ENTRY_UNIT) * ID_ENTRY_SIZE + $t]
if $result != RUBY_Qnil
if $result != RUBY_Qnil
print_string $result
else
echo undef
end
else
echo undef
end
end
end
end
Expand Down

0 comments on commit 132e01a

Please sign in to comment.