1
0
mirror of https://github.com/specht/champ.git synced 2024-12-26 13:31:35 +00:00
This commit is contained in:
Michael Specht 2018-02-19 22:11:34 +01:00
parent 61ff02e98c
commit 2d2038e184

View File

@ -802,7 +802,7 @@ class Champ
io.print "<span class='#{(i == offset) ? 'error' : 'code'}'>"
line_pc = nil
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])
end
end