Skip to content

Commit

Permalink
Merge pull request #3997 from Hyrtwol/reource-fix-windows
Browse files Browse the repository at this point in the history
fix for using .rc files
  • Loading branch information
gingerBill authored Jul 30, 2024
2 parents 04c3723 + 744d7f7 commit 62191f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/build_settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
}
Expand Down

0 comments on commit 62191f5

Please sign in to comment.