This commit is contained in:
Jeffery Myers 2021-12-30 11:33:45 -08:00
parent 0f16c72ed1
commit 76f4f5ea88

View File

@ -3064,7 +3064,7 @@ const char* GetApplicationDirectory(void)
if (_NSGetExecutablePath(appDir, &size) == 0) if (_NSGetExecutablePath(appDir, &size) == 0)
{ {
int len = strlne(appDir); int len = strlen(appDir);
for (int i = len; i >= 0; --i) for (int i = len; i >= 0; --i)
{ {
if (appDir[i] == '/') if (appDir[i] == '/')