2
0
mirror of https://github.com/bebbo/amigaos-cross-toolchain.git synced 2025-12-08 22:38:24 +00:00

Several minor bug fixes.

This commit is contained in:
Krystian Bacławski
2013-06-15 12:49:15 +02:00
parent a24b1142f5
commit 38f39e7c90
2 changed files with 26 additions and 11 deletions

View File

@ -11,4 +11,4 @@ def hexdump(data):
for i in range(0, len(hexch), 16):
hexstr = ' '.join(hexch[i:i + 16])
asciistr = ''.join(ascii[i:i + 16])
print ' {0} |{1}|'.format(hexstr.ljust(47, ' '), asciistr)
print ' {2:04} | {0} |{1}|'.format(hexstr.ljust(47, ' '), asciistr, i)