mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Merge pull request #1941 from jockus/fix-rc-missing-extension
Do not remove .rc extension from resource path to prevent expansion t…
This commit is contained in:
+1
-1
@@ -1562,7 +1562,7 @@ bool parse_build_flags(Array<String> args) {
|
|||||||
bad_flags = true;
|
bad_flags = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
build_context.resource_filepath = substring(path, 0, string_extension_position(path));
|
build_context.resource_filepath = path;
|
||||||
build_context.has_resource = true;
|
build_context.has_resource = true;
|
||||||
} else {
|
} else {
|
||||||
gb_printf_err("Invalid -resource path, got %.*s\n", LIT(path));
|
gb_printf_err("Invalid -resource path, got %.*s\n", LIT(path));
|
||||||
|
|||||||
Reference in New Issue
Block a user