diff --git a/oscar64/oscar64.cpp b/oscar64/oscar64.cpp index cc8d92d..02fdf6a 100644 --- a/oscar64/oscar64.cpp +++ b/oscar64/oscar64.cpp @@ -78,7 +78,7 @@ int main(int argc, const char** argv) uint32_t length = sizeof(basePath); _NSGetExecutablePath(basePath, &length); - + length = strlen(basePath); #else int length = readlink("/proc/self/exe", basePath, sizeof(basePath));