summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/app.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/app.c b/src/app.c
index 73eea762..383b9e2a 100644
--- a/src/app.c
+++ b/src/app.c
@@ -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 }