1
0
Fork 0
mirror of https://github.com/suchmememanyskill/TegraExplorer.git synced 2024-09-19 13:33:25 +01:00

Don't forget to take results

This commit is contained in:
Such Meme, Many Skill 2020-05-17 23:42:53 +02:00
parent 6934e1422f
commit a8e86c2de3

View file

@ -32,12 +32,12 @@ int fsact_copy(const char *locin, const char *locout, u8 options){
return 1; return 1;
} }
if (f_stat(locin, &in_info)){ if ((res = f_stat(locin, &in_info))){
gfx_errDisplay("copy", res, 3); gfx_errDisplay("copy", res, 3);
return 1; return 1;
} }
if (f_open(&out, locout, FA_CREATE_ALWAYS | FA_WRITE)){ if ((res = f_open(&out, locout, FA_CREATE_ALWAYS | FA_WRITE))){
gfx_errDisplay("copy", res, 4); gfx_errDisplay("copy", res, 4);
return 1; return 1;
} }