diff --git a/src/rcore.c b/src/rcore.c index 420608df9..3b9ed2e0b 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -3064,7 +3064,7 @@ const char* GetApplicationDirectory(void) if (_NSGetExecutablePath(appDir, &size) == 0) { - int len = strlne(appDir); + int len = strlen(appDir); for (int i = len; i >= 0; --i) { if (appDir[i] == '/')