From b54a4ea1439f085c2e97e3b6b56f8ef1a182c599 Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Thu, 15 Aug 2019 21:59:44 +1000 Subject: [PATCH] fix broken linux build --- src/Platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Platform.c b/src/Platform.c index 1ac9f7158..30fb7cefc 100644 --- a/src/Platform.c +++ b/src/Platform.c @@ -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';