Missing .rc error message

This commit is contained in:
Mikkel Hjortshoej
2018-03-05 13:10:01 +01:00
parent cbabc80d92
commit 3574341b6b

View File

@@ -395,7 +395,7 @@ bool parse_build_flags(Array<String> args) {
path = string_trim_whitespace(path);
if (is_import_path_valid(path)) {
if(!string_ends_with(path, str_lit(".rc"))) {
gb_printf_err("Invalid -resource path, got %.*s\n", LIT(path));
gb_printf_err("Invalid -resource path, missing .rc\n", LIT(path));
bad_flags = true;
break;
}