From 51797fd546a834d730e07837de6034166a31c6d6 Mon Sep 17 00:00:00 2001 From: Jack Punter Date: Mon, 29 Jan 2024 19:30:09 +0000 Subject: [PATCH] Fix v2 project generation --- code/custom/4coder_project_commands.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/custom/4coder_project_commands.cpp b/code/custom/4coder_project_commands.cpp index 9f736d8d..045f8e51 100644 --- a/code/custom/4coder_project_commands.cpp +++ b/code/custom/4coder_project_commands.cpp @@ -476,7 +476,7 @@ prj_generate_project(Arena *scratch, String8 script_path, String8 script_file, S fprintf(out, "\".*\",\n"); fprintf(out, "};\n"); fprintf(out, "load_paths_base = {\n"); - fprintf(out, " { \".\", .relative = true, .recursive = true, },\n"); + fprintf(out, " { .path = \".\", .relative = true, .recursive = true, },\n"); fprintf(out, "};\n"); fprintf(out, "load_paths = {\n"); fprintf(out, " .win = load_paths_base,\n"); @@ -498,8 +498,8 @@ prj_generate_project(Arena *scratch, String8 script_path, String8 script_file, S fprintf(out, "};\n"); fprintf(out, "fkey_command = {\n"); - fprintf(out, ".F1 = \"run\";\n"); - fprintf(out, ".F2 = \"run\";\n"); + fprintf(out, ".F1 = \"run\",\n"); + fprintf(out, ".F2 = \"run\",\n"); fprintf(out, "};\n"); fclose(out);