copy paste fail

This commit is contained in:
UnknownShadow200 2022-05-31 00:17:37 +10:00
parent e5a414736f
commit 63280b8519

View File

@ -114,7 +114,7 @@ cc_result Platform_SetDefaultCurrentDirectory(int argc, char **argv) {
String_InitArray_NT(dir, dirBuffer); String_InitArray_NT(dir, dirBuffer);
JavaCall_Void_String("getExternalAppDir", &dir); JavaCall_Void_String("getExternalAppDir", &dir);
dir.buffer[dir.length] = '\0';= dir.buffer[dir.length] = '\0';
Platform_Log1("EXTERNAL DIR: %s|", &dir); Platform_Log1("EXTERNAL DIR: %s|", &dir);
int res = chdir(dir.buffer) == -1 ? errno : 0; int res = chdir(dir.buffer) == -1 ? errno : 0;