1
0
mirror of https://github.com/specht/champ.git synced 2026-04-20 21:16:58 +00:00
This commit is contained in:
Michael Specht
2018-02-19 22:11:34 +01:00
parent 61ff02e98c
commit 2d2038e184
+1 -1
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