Build fix
This commit is contained in:
parent
b67b680975
commit
a6013ff181
|
@ -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--) {
|
||||||
|
|
Loading…
Reference in a new issue