Merge pull request #74 from int00h5525/fix_hexdump

Fixing offsets in hexdump output
This commit is contained in:
Neale Pickett 2019-08-13 11:47:40 -07:00 committed by GitHub
commit fa004f086a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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