fix broken linux build

This commit is contained in:
UnknownShadow200 2019-08-15 21:59:44 +10:00
parent ce715a4001
commit b54a4ea143

View File

@ -2047,7 +2047,7 @@ ReturnCode Platform_SetDefaultCurrentDirectory(void) {
/* get rid of filename at end of directory */
for (i = len - 1; i >= 0; i--, len--) {
if (path[i] == '\\') break;
if (path[i] == '/') break;
}
path[len] = '\0';