mirror of
https://github.com/holub/mame
synced 2025-05-02 04:31:01 +03:00
fix space and tab mixing (nw)
This commit is contained in:
parent
ef1f42397a
commit
0d35e225af
@ -42,13 +42,13 @@ try:
|
|||||||
dst.write('0x%02x' % ord(b))
|
dst.write('0x%02x' % ord(b))
|
||||||
offs = offs + 1
|
offs = offs + 1
|
||||||
if offs != bytes:
|
if offs != bytes:
|
||||||
dst.write(',')
|
dst.write(',')
|
||||||
else:
|
else:
|
||||||
break
|
break
|
||||||
if offs != bytes:
|
if offs != bytes:
|
||||||
dst.write('\n\t')
|
dst.write('\n\t')
|
||||||
if terminate == 1:
|
if terminate == 1:
|
||||||
dst.write(',0x00')
|
dst.write(',0x00')
|
||||||
dst.write('\n};\n')
|
dst.write('\n};\n')
|
||||||
dst.close()
|
dst.close()
|
||||||
except IOError:
|
except IOError:
|
||||||
|
Loading…
Reference in New Issue
Block a user