mirror of
https://github.com/specht/champ.git
synced 2024-12-22 19:29:47 +00:00
fix
This commit is contained in:
parent
61ff02e98c
commit
2d2038e184
2
champ.rb
2
champ.rb
@ -802,7 +802,7 @@ class Champ
|
|||||||
io.print "<span class='#{(i == offset) ? 'error' : 'code'}'>"
|
io.print "<span class='#{(i == offset) ? 'error' : 'code'}'>"
|
||||||
line_pc = nil
|
line_pc = nil
|
||||||
if @pc_for_file_and_line[this_filename]
|
if @pc_for_file_and_line[this_filename]
|
||||||
if @pc_for_file_and_line[this_filename][i]
|
if @pc_for_file_and_line[this_filename][i + 1]
|
||||||
line_pc = sprintf('0x%04x', @pc_for_file_and_line[this_filename][i + 1])
|
line_pc = sprintf('0x%04x', @pc_for_file_and_line[this_filename][i + 1])
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user