Fix mixed tab/whitespace in build files

This commit is contained in:
Matthias Hoelzl 2017-08-26 20:47:23 +02:00
parent 9e0fbb49c1
commit a919a013f5
2 changed files with 3 additions and 3 deletions

View file

@ -351,7 +351,7 @@ if (env["tools"] == "yes"):
reg_exporters = 'void register_exporters() {\n'
for e in env.platform_exporters:
env.editor_sources.append("#platform/" + e + "/export/export.cpp")
reg_exporters += '\tregister_' + e + '_exporter();\n'
reg_exporters += '\tregister_' + e + '_exporter();\n'
reg_exporters_inc += '#include "platform/' + e + '/export/export.h"\n'
reg_exporters += '}\n'
f = open("register_exporters.gen.cpp", "wb")

View file

@ -18,7 +18,7 @@ def make_splash(target, source, env):
g.write("static const Color boot_splash_bg_color = Color(1,1,1,1);\n");
g.write("static const unsigned char boot_splash_png[] = {\n")
for i in range(len(buf)):
g.write(str(ord(buf[i])) + ",\n")
g.write(str(ord(buf[i])) + ",\n")
g.write("};\n")
g.write("#endif")
@ -37,7 +37,7 @@ def make_app_icon(target, source, env):
g.write("#define APP_ICON_H\n")
g.write("static const unsigned char app_icon_png[] = {\n")
for i in range(len(buf)):
g.write(str(ord(buf[i])) + ",\n")
g.write(str(ord(buf[i])) + ",\n")
g.write("};\n")
g.write("#endif")