diff options
| author | Thomas la Cour <tlc@hyrtwol.dk> | 2024-07-30 16:53:14 +0200 |
|---|---|---|
| committer | Thomas la Cour <tlc@hyrtwol.dk> | 2024-07-30 16:53:14 +0200 |
| commit | 744d7f7ef420bfc747988ca52bdf202fbdc03807 (patch) | |
| tree | 2a26e59a1d9d5a88dc9c98a587badd81c03fff10 /src | |
| parent | 7f17d4eb7fa0b95dfed3a42211d9188479bfd820 (diff) | |
fix for using .rc files
Diffstat (limited to 'src')
| -rw-r--r-- | src/build_settings.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/build_settings.cpp b/src/build_settings.cpp index 49bb83b22..faa8ad2b6 100644 --- a/src/build_settings.cpp +++ b/src/build_settings.cpp @@ -1822,6 +1822,7 @@ gb_internal bool init_build_paths(String init_filename) { if (bc->resource_filepath.len > 0) { bc->build_paths[BuildPath_RES] = path_from_string(ha, bc->resource_filepath); if (!string_ends_with(bc->resource_filepath, str_lit(".res"))) { + bc->build_paths[BuildPath_RES].ext = copy_string(ha, STR_LIT("res")); bc->build_paths[BuildPath_RC] = path_from_string(ha, bc->resource_filepath); bc->build_paths[BuildPath_RC].ext = copy_string(ha, STR_LIT("rc")); } |