commit
2f659d5180
|
@ -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 New Issue