mirror of https://github.com/dirtbags/moth.git
Merge pull request #74 from int00h5525/fix_hexdump
Fixing offsets in hexdump output
This commit is contained in:
commit
fa004f086a
|
@ -235,6 +235,7 @@ class Puzzle:
|
|||
self.body.write('<pre>')
|
||||
for hexes, chars in out:
|
||||
if chars == lastchars:
|
||||
offset += len(chars)
|
||||
if not elided:
|
||||
self.body.write('*\n')
|
||||
elided = True
|
||||
|
|
Loading…
Reference in New Issue