diff options
Diffstat (limited to 'release/datafiles')
-rwxr-xr-x | release/datafiles/datatoc.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/release/datafiles/datatoc.py b/release/datafiles/datatoc.py index ea72870f2a0..362d4ddc126 100755 --- a/release/datafiles/datatoc.py +++ b/release/datafiles/datatoc.py @@ -50,6 +50,7 @@ sys.stdout.write("Making C file <%s>\n" % cname) filename = filename.replace(".", "_") sys.stdout.write(str(size)) +sys.stdout.write("\n") try: fpout = open(cname, "w") except: @@ -66,7 +67,7 @@ while size > 0: if size % 32 == 31: fpout.write("\n") - fpout.write("%.2d," % ord(fpin.read(1))) + fpout.write("%3d," % ord(fpin.read(1))) fpout.write("\n 0};\n\n") |