Build fix

This commit is contained in:
extrowerk authored and GitHub committed 2020-05-11 13:49:18 +02:00
1 parent b67b680975
commit a6013ff181
1 file changed
+1 -1
+1 -1
View File
@@ -41,7 +41,7 @@ static void get_exe_dir(char *buf, int sz) {
unsigned size = sz; unsigned size = sz;
_NSGetExecutablePath(buf, &size); _NSGetExecutablePath(buf, &size);
#else #else
strcpy(buf, ".") strcpy(buf, ".");
#endif #endif
for (int i = strlen(buf) - 1; i > 0; i--) { for (int i = strlen(buf) - 1; i > 0; i--) {