diff options
Diffstat (limited to 'src/app.c')
-rw-r--r-- | src/app.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -504,8 +504,10 @@ static void init_App_(iApp *d, int argc, char **argv) { | |||
504 | /* Load the resources from a file. */ { | 504 | /* Load the resources from a file. */ { |
505 | if (!load_Embed(concatPath_CStr(cstr_String(execPath_App()), EMB_BIN))) { | 505 | if (!load_Embed(concatPath_CStr(cstr_String(execPath_App()), EMB_BIN))) { |
506 | if (!load_Embed(concatPath_CStr(cstr_String(execPath_App()), EMB_BIN2))) { | 506 | if (!load_Embed(concatPath_CStr(cstr_String(execPath_App()), EMB_BIN2))) { |
507 | fprintf(stderr, "failed to load resources: %s\n", strerror(errno)); | 507 | if (!load_Embed("resources.lgr")) { |
508 | exit(-1); | 508 | fprintf(stderr, "failed to load resources: %s\n", strerror(errno)); |
509 | exit(-1); | ||
510 | } | ||
509 | } | 511 | } |
510 | } | 512 | } |
511 | } | 513 | } |