From e2bb8cf07ec4742f8006accb17321ce03f96fd58 Mon Sep 17 00:00:00 2001 From: Allen Webster Date: Sat, 8 Jul 2017 20:50:58 -0400 Subject: [PATCH] whitespace cleanup in build.cpp (sublime...) --- meta/build.cpp | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/meta/build.cpp b/meta/build.cpp index 88624ffc..6b6d786a 100644 --- a/meta/build.cpp +++ b/meta/build.cpp @@ -211,12 +211,8 @@ build(u32 flags, u32 arch, char *code_path, char **code_files, char *out_path, c } switch (arch){ - case Arch_X64: - fm_add_to_line(line, "/DFTECH_64_BIT"); break; - - case Arch_X86: - fm_add_to_line(line, "/DFTECH_32_BIT"); break; - + case Arch_X64: fm_add_to_line(line, "/DFTECH_64_BIT"); break; + case Arch_X86: fm_add_to_line(line, "/DFTECH_32_BIT"); break; default: InvalidCodePath; } @@ -230,12 +226,8 @@ build(u32 flags, u32 arch, char *code_path, char **code_files, char *out_path, c if (flags & LIBS){ switch (arch){ - case Arch_X64: - fm_add_to_line(line, CL_LIBS_X64); break; - - case Arch_X86: - fm_add_to_line(line, CL_LIBS_X86); break; - + case Arch_X64: fm_add_to_line(line, CL_LIBS_X64); break; + case Arch_X86: fm_add_to_line(line, CL_LIBS_X86); break; default: InvalidCodePath; } } @@ -393,8 +385,7 @@ build(u32 flags, u32 arch, char *code_path, char **code_files, char *out_path, c if (defines != 0){ for (u32 i = 0; defines[i]; ++i){ char *define_flag = fm_str("-D", defines[i]); - fm_add_to_line(line, "%s", - define_flag); + fm_add_to_line(line, "%s", define_flag); } }