Do not remove .rc extension from resource path to prevent expansion to full path assuming it's a directory if a folder with the same name exists in the same folder as the resource file
This commit is contained in:
1 parent
84f9fb706b
commit
28f440dd9e
1 file changed
+1
-1
+1
-1
@@ -1562,7 +1562,7 @@ bool parse_build_flags(Array<String> args) {
|
||||
bad_flags = true;
|
||||
break;
|
||||
}
|
||||
build_context.resource_filepath = substring(path, 0, string_extension_position(path));
|
||||
build_context.resource_filepath = path;
|
||||
build_context.has_resource = true;
|
||||
} else {
|
||||
gb_printf_err("Invalid -resource path, got %.*s\n", LIT(path));
|
||||
|
||||
Reference in new issue
Block a user